diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-06 09:38:48 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-06 16:07:48 +0100 |
commit | 632b24820e4a0bc0e96a2e5900ca6f0aa1e857c5 (patch) | |
tree | 497261299bb77994ec1cbd49848e371fc3a37549 /app/views/dashboard/_groups_head.html.haml | |
parent | cdd8f2f345aeb3fb05bbe8f567e72b717f388636 (diff) | |
download | gitlab-ce-632b24820e4a0bc0e96a2e5900ca6f0aa1e857c5.tar.gz |
Moves the action buttons out of the breadcrumbs
Closes #36459
Diffstat (limited to 'app/views/dashboard/_groups_head.html.haml')
-rw-r--r-- | app/views/dashboard/_groups_head.html.haml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/views/dashboard/_groups_head.html.haml b/app/views/dashboard/_groups_head.html.haml index 11bf3f5d323..7981daa0705 100644 --- a/app/views/dashboard/_groups_head.html.haml +++ b/app/views/dashboard/_groups_head.html.haml @@ -1,7 +1,3 @@ -- if current_user.can_create_group? - - content_for :breadcrumbs_extra do - = link_to "New group", new_group_path, class: "btn btn-new" - .top-area %ul.nav-links = nav_link(page: dashboard_groups_path) do @@ -10,8 +6,8 @@ = nav_link(page: explore_groups_path) do = link_to explore_groups_path, title: 'Explore public groups' do Explore public groups - .nav-controls.nav-controls-new-nav + .nav-controls = render 'shared/groups/search_form' = render 'shared/groups/dropdown' - if current_user.can_create_group? - = link_to "New group", new_group_path, class: "btn btn-new visible-xs" + = link_to "New group", new_group_path, class: "btn btn-new" |