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 +4 -4
- data/app/views/homeland/nodes/edit.html.erb +2 -2
- data/app/views/homeland/nodes/index.html.erb +2 -2
- data/app/views/homeland/nodes/new.html.erb +1 -1
- data/app/views/homeland/replies/edit.html.erb +1 -1
- data/app/views/homeland/topics/edit.html.erb +1 -1
- data/app/views/homeland/topics/new.html.erb +1 -1
- data/app/views/layouts/homeland/application.html.erb +1 -1
- data/config/locales/homeland.en.yml +4 -2
- data/config/locales/homeland.zh-CN.yml +3 -1
- data/lib/homeland/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd32efc24bdeca6892b7e1f27769353c58b90679
|
4
|
+
data.tar.gz: 9c23e35fc50e3203b24264ead0571f8eba035169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
4
|
+
<li class="active"><%= t('homeland.edit') %></li>
|
5
5
|
</ol>
|
6
6
|
|
7
7
|
<%= 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.
|
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: "确定要删除么?"
|
data/lib/homeland/version.rb
CHANGED
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
|
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-
|
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:
|
208
|
+
version: '0'
|
209
209
|
requirements: []
|
210
210
|
rubyforge_project:
|
211
211
|
rubygems_version: 2.6.2
|