2016-09-19 19:49:08 +00:00
|
|
|
- page_title 'Labels'
|
|
|
|
|
|
|
|
.top-area.adjust
|
|
|
|
.nav-text
|
2016-10-15 15:46:20 +00:00
|
|
|
Labels can be applied to issues and merge requests. Group labels are available for any project within the group.
|
2016-09-19 19:49:08 +00:00
|
|
|
|
|
|
|
.nav-controls
|
|
|
|
- if can?(current_user, :admin_label, @group)
|
|
|
|
= link_to new_group_label_path(@group), class: "btn btn-new" do
|
|
|
|
New label
|
|
|
|
|
|
|
|
.labels
|
2016-09-29 04:03:28 +00:00
|
|
|
.other-labels
|
2016-09-19 19:49:08 +00:00
|
|
|
- if @labels.present?
|
2016-09-29 04:03:28 +00:00
|
|
|
%ul.content-list.manage-labels-list.js-other-labels
|
2016-10-28 02:43:31 +00:00
|
|
|
= render partial: 'shared/label', subject: @group, collection: @labels, as: :label
|
2016-09-19 19:49:08 +00:00
|
|
|
= paginate @labels, theme: 'gitlab'
|
|
|
|
- else
|
|
|
|
.nothing-here-block
|
|
|
|
No labels created yet.
|