summaryrefslogtreecommitdiff
path: root/app/views/layouts/header
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-08 15:50:26 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-08 15:50:26 +0200
commit61a3cd6351f9d4c3eed04344476b8f34884b059b (patch)
treea44858e5c2b930813df35ce9ac65ccf1fa084606 /app/views/layouts/header
parent509fe1159a76f325840987bd3d1a1db577569772 (diff)
downloadgitlab-ce-61a3cd6351f9d4c3eed04344476b8f34884b059b.tar.gz
Move logout buttom to top right corner
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/layouts/header')
-rw-r--r--app/views/layouts/header/_default.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index 2970af377f5..f1508a27f27 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -39,5 +39,8 @@
%li
= link_to profile_path, title: 'Profile settings', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('cog fw')
+ %li
+ = link_to destroy_user_session_path, class: 'logout', method: :delete, title: 'Sign out', data: {toggle: 'tooltip', placement: 'bottom'} do
+ = icon('sign-out')
= render 'shared/outdated_browser'