BigW Consortium Gitlab

index.html.haml 628 Bytes
Newer Older
1
- page_title 'Labels'
2

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

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

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