Skip to content
This repository has been archived by the owner on Jun 26, 2019. It is now read-only.

Commit

Permalink
Fix nodes I18n;
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Mar 24, 2016
1 parent 269b075 commit f428449
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/homeland/nodes/edit.html.erb
@@ -1,6 +1,6 @@
<ol class="breadcrumb">
<li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
<li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.channels') %></a></li>
<li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.node') %></a></li>
<li><a href="<%= homeland.node_topics_path %>"><%= @node.name %></a></li>
<li class="active"><%= t('homeland.nav.edit') %></li>
</ol>
Expand Down
4 changes: 2 additions & 2 deletions app/views/homeland/nodes/index.html.erb
@@ -1,10 +1,10 @@
<% if admin? %>
<ul class="nav nav-pills" style="margin-bottom:20px ">
<li class="nav-item">
<a class="nav-link active" href="<%= homeland.nodes_path %>"><%= t("homeland.channels") %></a>
<a class="nav-link active" href="<%= homeland.nodes_path %>"><%= t("homeland.nav.node") %></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<%= homeland.new_node_path %>"><%= t("homeland.new_node") %></a>
<a class="nav-link" href="<%= homeland.new_node_path %>"><%= t("homeland.nav.new") %></a>
</li>
</ul>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/homeland/nodes/new.html.erb
@@ -1,6 +1,6 @@
<ol class="breadcrumb">
<li><a href="<%= homeland.root_path %>"><%= t('homeland.nav.home') %></a></li>
<li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.channels') %></a></li>
<li><a href="<%= homeland.nodes_path %>"><%= t('homeland.nav.node') %></a></li>
<li class="active"><%= t('homeland.nav.new') %></li>
</ol>

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/homeland/application.html.erb
Expand Up @@ -22,7 +22,7 @@
<a class="nav-link" href="<%= homeland.recent_topics_path %>"><%= t('homeland.nav.recent') %></a>
</li>
<li class="nav-item<%= ' active' if controller_name == 'nodes' %>">
<a class="nav-link" href="<%= homeland.nodes_path %>"><%= t('homeland.nav.channels') %></a>
<a class="nav-link" href="<%= homeland.nodes_path %>"><%= t('homeland.nav.node') %></a>
</li>
</ul>
<ul class="nav navbar-nav pull-xs-right">
Expand Down

0 comments on commit f428449

Please sign in to comment.