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