2016-11-12 18:51:47 -05:00
.row.empty-state.labels
2018-04-09 12:45:38 -04:00
.col-12
2016-11-12 18:51:47 -05:00
.svg-content
2017-09-22 04:39:47 -04:00
= image_tag 'illustrations/labels.svg'
2018-04-09 12:45:38 -04:00
.col-12
2016-11-12 18:51:47 -05:00
.text-content
2017-12-12 11:55:16 -05:00
%h4= _("Labels can be applied to issues and merge requests to categorize them.")
%p= _("You can also star a label to make it a priority label.")
2018-11-01 08:15:37 -04:00
.text-center
- if can?(current_user, :admin_label, @project)
2018-11-07 08:56:53 -05:00
= link_to _('New label'), new_project_label_path(@project), class: 'btn btn-success qa-label-create-new', title: _('New label'), id: 'new_label_link'
2018-11-01 08:15:37 -04:00
= link_to _('Generate a default set of labels'), generate_project_labels_path(@project), method: :post, class: 'btn btn-success btn-inverted', title: _('Generate a default set of labels'), id: 'generate_labels_link'
- if can?(current_user, :admin_label, @group)
= link_to _('New label'), new_group_label_path(@group), class: 'btn btn-success', title: _('New label'), id: 'new_label_link'