debian-mirror-gitlab/app/views/dashboard/_groups_head.html.haml

18 lines
746 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- if show_new_nav? && current_user.can_create_group?
- content_for :breadcrumbs_extra do
= link_to "New group", new_group_path, class: "btn btn-new"
2016-04-02 18:10:28 +05:30
.top-area
%ul.nav-links
= nav_link(page: dashboard_groups_path) do
= link_to dashboard_groups_path, title: 'Your groups' do
2017-08-17 22:00:37 +05:30
Your groups
2016-04-02 18:10:28 +05:30
= nav_link(page: explore_groups_path) do
2017-08-17 22:00:37 +05:30
= link_to explore_groups_path, title: 'Explore public groups' do
Explore public groups
2017-09-10 17:25:29 +05:30
.nav-controls{ class: ("nav-controls-new-nav" if show_new_nav?) }
2017-08-17 22:00:37 +05:30
= render 'shared/groups/search_form'
= render 'shared/groups/dropdown'
- if current_user.can_create_group?
2017-09-10 17:25:29 +05:30
= link_to "New group", new_group_path, class: "btn btn-new #{("visible-xs" if show_new_nav?)}"