gitlab-org--gitlab-foss/app/views/dashboard/_groups_head.html.haml

18 lines
674 B
Plaintext
Raw Normal View History

2017-09-06 10:58:24 +00:00
- if current_user.can_create_group?
2017-07-03 10:58:06 +00:00
- 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
= link_to dashboard_groups_path, title: 'Your groups' do
2017-05-02 08:05:43 +00:00
Your groups
= nav_link(page: explore_groups_path) do
2017-05-02 08:05:43 +00:00
= link_to explore_groups_path, title: 'Explore public groups' do
Explore public groups
2017-09-06 10:58:24 +00:00
.nav-controls.nav-controls-new-nav
= render 'shared/groups/search_form'
= render 'shared/groups/dropdown'
- if current_user.can_create_group?
2017-09-06 10:58:24 +00:00
= link_to "New group", new_group_path, class: "btn btn-new visible-xs"