Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Commit

Permalink
Add missing link and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Groeneveld committed Sep 19, 2014
1 parent 909a4aa commit 8dcd5ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<% if can? :manage, Rule %>
<li><a href="<%= rules_path %>"><%= t(:rules) %></a></li>
<% end %>
<% if can? :manage, User %>
<li><a href="<%= users_path %>">Gebruikers</a></li>
<li><a href="<%= users_path %>"><%= t(:users) %></a></li>
<% end %>
<li class="has-dropdown">
<a href="#"><%= current_user.email %></a>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ en:
mine: Mine
closed_tickets: Closed
trashed: Trashed
users: Users
rules: Rules

# devise/sessions/new
sign_in: Sign in
Expand Down
3 changes: 2 additions & 1 deletion config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ nl:
mine: Van mij
closed_tickets: Gesloten
trashed: Prullenbak
users: Gebruikers
rules: Regels

# devise/sessions/new
sign_in: Inloggen
Expand Down Expand Up @@ -139,7 +141,6 @@ nl:

# rules/index
new_rule: Nieuwe regel
rules: Regels

# rules/edit
edit_rule: Regel wijzigen
Expand Down

0 comments on commit 8dcd5ea

Please sign in to comment.