homeland 1.0.0.beta3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfcb275be53c93806dcc275f7c76b2dc846c2193
4
- data.tar.gz: 604b6421b2fa89afe5669989c35d55e8fee1fbf4
3
+ metadata.gz: fd32efc24bdeca6892b7e1f27769353c58b90679
4
+ data.tar.gz: 9c23e35fc50e3203b24264ead0571f8eba035169
5
5
  SHA512:
6
- metadata.gz: 797f4b1dd577bcd590c31144380d9a05bf91767fd9d5b2146100a3722b9ef2a05e1ebad7f6012c61611f5e1150f4b257805e3bf245b48fbbc6756d0abc91be25
7
- data.tar.gz: 20b207acab1c5f48dd51541779f1f8b8179d3ffc49b9c132950b785e9da4cbdde1531dff315358a344b971723d942653183869c111f61ee6425fa9303126f2de
6
+ metadata.gz: 6ef581a154e3bd52f45e0a45809a5b762419b4ad7da84c685d273890dced8e6e02b06053aed75cf6fb6c3aa0d47b27c9b184217f0ccb7b5a505a2c89d8fb12cf
7
+ data.tar.gz: b03617482ab9082ad908818e7cc49cfe5d627963672d81e461a33f27b29dba57c74de7112fcaf6c93a02a1a4db9080334f2aa3e34afb85a00cb99ea95d87b4a9
@@ -1,8 +1,8 @@
1
1
  <ol class="breadcrumb">
2
2
  <li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
3
- <li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.channels') %></a></li>
3
+ <li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.node') %></a></li>
4
4
  <li><a href="<%= homeland.node_topics_path %>"><%= @node.name %></a></li>
5
- <li class="active"><%= t('homeland.nav.edit') %></li>
5
+ <li class="active"><%= t('homeland.edit') %></li>
6
6
  </ol>
7
7
 
8
8
  <%= render 'form' %>
@@ -1,10 +1,10 @@
1
1
  <% if admin? %>
2
2
  <ul class="nav nav-pills" style="margin-bottom:20px ">
3
3
  <li class="nav-item">
4
- <a class="nav-link active" href="<%= homeland.nodes_path %>"><%= t("homeland.channels") %></a>
4
+ <a class="nav-link active" href="<%= homeland.nodes_path %>"><%= t("homeland.nav.node") %></a>
5
5
  </li>
6
6
  <li class="nav-item">
7
- <a class="nav-link" href="<%= homeland.new_node_path %>"><%= t("homeland.new_node") %></a>
7
+ <a class="nav-link" href="<%= homeland.new_node_path %>"><%= t("homeland.new") %></a>
8
8
  </li>
9
9
  </ul>
10
10
  <% end %>
@@ -1,6 +1,6 @@
1
1
  <ol class="breadcrumb">
2
2
  <li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
3
- <li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.channels') %></a></li>
3
+ <li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.node') %></a></li>
4
4
  <li class="active"><%= t('homeland.nav.new') %></li>
5
5
  </ol>
6
6
 
@@ -1,7 +1,7 @@
1
1
  <ol class="breadcrumb">
2
2
  <li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
3
3
  <li><a href="<%= homeland.topic_path(@reply.topic_id) %>" title="<%= @reply.topic.title %>"><%= truncate @reply.topic.title, length: 20 %></a></li>
4
- <li class="active"><%= t('homeland.nav.edit') %></li>
4
+ <li class="active"><%= t('homeland.edit') %></li>
5
5
  </ol>
6
6
  <%= form_for(@reply) do |f| %>
7
7
  <%= render_errors @reply %>
@@ -1,7 +1,7 @@
1
1
  <ol class="breadcrumb">
2
2
  <li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
3
3
  <li><a href="<%= homeland.topic_path(@topic) %>" title="<%= @topic.title %>"><%= truncate @topic.title, length: 20 %></a></li>
4
- <li class="active"><%= t('homeland.nav.edit') %></li>
4
+ <li class="active"><%= t('homeland.edit') %></li>
5
5
  </ol>
6
6
 
7
7
  <%= render 'form' %>
@@ -1,6 +1,6 @@
1
1
  <ol class="breadcrumb">
2
2
  <li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
3
- <li class="active"><%= t('homeland.nav.new') %></li>
3
+ <li class="active"><%= t('homeland.new') %></li>
4
4
  </ol>
5
5
 
6
6
  <%= render 'form' %>
@@ -22,7 +22,7 @@
22
22
  <a class="nav-link" href="<%= homeland.recent_topics_path %>"><%= t('homeland.nav.recent') %></a>
23
23
  </li>
24
24
  <li class="nav-item<%= ' active' if controller_name == 'nodes' %>">
25
- <a class="nav-link" href="<%= homeland.nodes_path %>"><%= t('homeland.nav.channels') %></a>
25
+ <a class="nav-link" href="<%= homeland.nodes_path %>"><%= t('homeland.nav.node') %></a>
26
26
  </li>
27
27
  </ul>
28
28
  <ul class="nav navbar-nav pull-xs-right">
@@ -20,8 +20,7 @@ en:
20
20
  features: 'Features'
21
21
  recent: 'Recent'
22
22
  node: "Channel"
23
- new: "New"
24
- edit: 'Edit'
23
+ new: "New Topic"
25
24
  topics:
26
25
  empty: 'Ther have no subject created.'
27
26
  type_reply: 'Write your reply here...'
@@ -30,6 +29,9 @@ en:
30
29
  submit: 'Submit'
31
30
  cancel: 'Cancel'
32
31
  reply: 'Reply'
32
+ new: "New"
33
+ edit: "Edit"
34
+ delete: "Delete"
33
35
  access_denied: "Access denied."
34
36
  are_you_sure_to_delete: "Are you sure to delete?"
35
37
  topic_created: "Topic created success."
@@ -21,7 +21,6 @@ zh-CN:
21
21
  recent: '最新发布'
22
22
  node: "频道"
23
23
  new: "发帖"
24
- edit: '编辑'
25
24
  topics:
26
25
  empty: '没有查到任何话题'
27
26
  type_reply: '在这里输入你要参与回复的内容...'
@@ -29,6 +28,9 @@ zh-CN:
29
28
  submiting: '提交中,请稍后...'
30
29
  submit: '提交'
31
30
  cancel: '取消'
31
+ new: "新建"
32
+ edit: "修改"
33
+ delete: "删除"
32
34
  reply: '回复'
33
35
  access_denied: "拒绝访问."
34
36
  are_you_sure_to_delete: "确定要删除么?"
@@ -1,3 +1,3 @@
1
1
  module Homeland
2
- VERSION = "1.0.0.beta3"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeland
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -203,9 +203,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ">"
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
- version: 1.3.1
208
+ version: '0'
209
209
  requirements: []
210
210
  rubyforge_project:
211
211
  rubygems_version: 2.6.2