summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-31 11:39:25 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-31 11:39:25 +0100
commit8da882cf3ec53f9057b17bd8dd39c2eadb2a88c2 (patch)
tree9ffca1c369768dac2b43e18a5993da3db3eb3a50 /app/views
parent83120928fc2dabe225215668943452065d8bc52f (diff)
Fixed single sign on. #145
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_navbar.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml
index c2d9946..9350de0 100644
--- a/app/views/layouts/_navbar.html.haml
+++ b/app/views/layouts/_navbar.html.haml
@@ -48,7 +48,8 @@
%a.navbar-link{:href => tenant_user_path(current_user.current_tenant, current_user)}
= current_user
- %li
- %a.navbar-link{:href => log_out_path}
- %i.icon-off.icon-white
+ - if single_sign_on_system? == false
+ %li
+ %a.navbar-link{:href => log_out_path}
+ %i.icon-off.icon-white