summaryrefslogtreecommitdiff
path: root/app/views/layouts/_navbar.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 12:47:18 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 12:47:18 +0100
commit6d4de81a703b11f75792790a1b41f963240bd839 (patch)
tree6bb3be30b01e5d84d196fa012cf4d3b0da14ce9a /app/views/layouts/_navbar.html.haml
parent4cfc68e3aa5cf1abbdbbbc8dd57fd56b5feb90bf (diff)
Added navigation I18n for "Admin-Docu". #142
Diffstat (limited to 'app/views/layouts/_navbar.html.haml')
-rw-r--r--app/views/layouts/_navbar.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml
index 9350de0..335dd3d 100644
--- a/app/views/layouts/_navbar.html.haml
+++ b/app/views/layouts/_navbar.html.haml
@@ -14,10 +14,10 @@
- if current_user && GemeinschaftSetup.any? && current_user.admin?
- if current_page?(page_help_path)
%li.active
- =link_to 'Admin-Doku', page_help_path
+ =link_to t('navigation.admin_docu'), page_help_path
- else
%li
- =link_to 'Admin-Doku', page_help_path
+ =link_to t('navigation.admin_docu'), page_help_path
- if current_user && current_user.sip_accounts.any?
%li
%a{:href => sip_account_call_histories_path(current_user.sip_accounts.first)}