summaryrefslogtreecommitdiff
path: root/app/views/groups/labels/index.html.haml
blob: d10efdad53b8552c0ac775d0ab785dbf94aa83dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- page_title 'Labels'

.top-area.adjust
  .nav-text
    Labels can be applied to issues and merge requests. Group labels are available for any project within the group.

  .nav-controls
    - if can?(current_user, :admin_label, @group)
      = link_to "New label", new_group_label_path(@group), class: "btn btn-new"

.labels
  .other-labels
    - if @labels.present?
      %ul.content-list.manage-labels-list.js-other-labels
        = render partial: 'shared/label', subject: @group, collection: @labels, as: :label
        = paginate @labels, theme: 'gitlab'
    - else
      .nothing-here-block
        No labels created yet.