summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-20 10:34:13 +0100
committerAzul <azul@leap.se>2012-11-20 10:35:10 +0100
commit13f53593551549d8e95e382fd42a92efc170943d (patch)
treeac8ece0f627ac76a9c407a022878649e21376291 /users
parentcd743d686ade50a9b23965a99c57b8105e834ec9 (diff)
ui tweaks to the menu
Diffstat (limited to 'users')
-rw-r--r--users/app/views/sessions/_nav.html.haml4
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