diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-04-07 21:20:16 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-04-07 21:20:16 +0000 |
commit | f2b7cd443566f6ceefcbecbd52c8484afe264402 (patch) | |
tree | 5d83db1c0eeefb4e7a94178b972d8f5c43b9f758 /app/views/layouts/nav/_group.html.haml | |
parent | 4361cc395cb5b9574286dee09ac55e49f394e50e (diff) | |
download | gitlab-ce-f2b7cd443566f6ceefcbecbd52c8484afe264402.tar.gz |
Revert "Merge branch 'new-navigation-prototype' into 'master'"
This reverts merge request !3494
Diffstat (limited to 'app/views/layouts/nav/_group.html.haml')
-rw-r--r-- | app/views/layouts/nav/_group.html.haml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_group.html.haml b/app/views/layouts/nav/_group.html.haml index 0b7de9633ec..55940741dc0 100644 --- a/app/views/layouts/nav/_group.html.haml +++ b/app/views/layouts/nav/_group.html.haml @@ -1,4 +1,12 @@ %ul.nav.nav-sidebar + = nav_link do + = link_to root_path, title: 'Go to dashboard', class: 'back-link' do + = icon('caret-square-o-left fw') + %span + Go to dashboard + + %li.separate-item + = nav_link(path: 'groups#show', html_options: {class: 'home'}) do = link_to group_path(@group), title: 'Home' do = icon('group fw') @@ -34,7 +42,7 @@ %span Members - if can?(current_user, :admin_group, @group) - = nav_link do + = nav_link(html_options: { class: "separate-item" }) do = link_to edit_group_path(@group), title: 'Settings' do = icon ('cogs fw') %span |