summaryrefslogtreecommitdiff
path: root/app/views/layouts/_navbar.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-27 06:05:06 -0500
committerPeter Kozak <spag@golwen.net>2013-02-27 06:05:06 -0500
commit211f558a86ae30cdd5b392ab1376e1393f97e22c (patch)
treef86ec6cedf081a1a57005eca1661e9bead34e4de /app/views/layouts/_navbar.html.haml
parented0117210837dd1d0d2dbf403799b70225caf0cd (diff)
parent41e17e9f3e184975e8b429d3fb06d822c49068bf (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/layouts/_navbar.html.haml')
-rw-r--r--app/views/layouts/_navbar.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml
index a7f47cf..8004c0e 100644
--- a/app/views/layouts/_navbar.html.haml
+++ b/app/views/layouts/_navbar.html.haml
@@ -3,10 +3,12 @@
.container
%span.hidden-phone
%a.brand{:href => (current_user.nil? ? '/' : tenant_path(current_user.current_tenant))}
- Gemeinschaft 5
+ Gemeinschaft 5.1
.nav-collapse.collapse
%ul.nav
+ - if !GemeinschaftSetup.any?
+ %li=link_to t('restore_jobs.new.page_title'), new_restore_job_path
- if current_user && GemeinschaftSetup.any? && current_user.admin?
- if current_page?(page_help_path)
%li.active