diff options
author | Azul <azul@leap.se> | 2012-11-20 10:34:13 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-11-20 10:34:13 +0100 |
commit | 60bb7b4522148d4c426ff2073bf54beefa4041d4 (patch) | |
tree | b8d3cf7ad7ecbac34a4af9857515c10be752f847 /users/app | |
parent | 347eb4b20cbe740485dd9d1d7220c01eef659920 (diff) |
ui tweaks to the menu
Diffstat (limited to 'users/app')
-rw-r--r-- | users/app/views/sessions/_nav.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/users/app/views/sessions/_nav.html.haml b/users/app/views/sessions/_nav.html.haml index 204ba88..b738504 100644 --- a/users/app/views/sessions/_nav.html.haml +++ b/users/app/views/sessions/_nav.html.haml @@ -1,8 +1,10 @@ - if logged_in? %li = 'logged in as ' + current_user.login + %li = link_to t(:logout), logout_path - - if admin? + - if admin? + %li = 'ADMIN' # obviously not like this - else %li |