2019-04-12 07:59:24 -04:00
|
|
|
.page-title-holder.d-flex.align-items-center
|
2018-10-06 10:21:38 -04:00
|
|
|
%h1.page-title= _('Groups')
|
|
|
|
|
|
|
|
- if current_user.can_create_group?
|
|
|
|
.page-title-controls
|
2021-03-01 07:11:29 -05:00
|
|
|
= link_to _("New group"), new_group_path, class: "gl-button btn btn-confirm", data: { testid: "new-group-button" }
|
2018-10-06 10:21:38 -04:00
|
|
|
|
2016-02-02 17:31:46 -05:00
|
|
|
.top-area
|
2021-09-29 05:11:43 -04:00
|
|
|
= gl_tabs_nav({ class: 'gl-flex-grow-1 gl-border-0' }) do
|
|
|
|
= gl_tab_link_to _("Your groups"), dashboard_groups_path
|
|
|
|
= gl_tab_link_to _("Explore public groups"), explore_groups_path
|
2017-09-06 04:38:48 -04:00
|
|
|
.nav-controls
|
2017-03-03 05:13:03 -05:00
|
|
|
= render 'shared/groups/search_form'
|
2017-03-01 08:31:56 -05:00
|
|
|
= render 'shared/groups/dropdown'
|