summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_groups_head.html.haml
blob: 7b1d25b9b436c1e2adf795138b93887afd756f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.page-title-holder.d-flex.align-items-center
  %h1.page-title= _('Groups')

  - if current_user.can_create_group?
    .page-title-controls
      = link_to _("New group"), new_group_path, class: "gl-button btn btn-confirm", data: { testid: "new-group-button" }

.top-area
  = 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
  .nav-controls
    = render 'shared/groups/search_form'
    = render 'shared/groups/dropdown'