2017-08-17 22:00:37 +05:30
.row.empty-state.labels
2018-11-08 19:23:39 +05:30
.col-12
2023-06-20 00:43:36 +05:30
.svg-content.svg-150{ data: { qa_selector: 'label_svg_content' } }
= image_tag 'illustrations/empty-state/empty-labels-md.svg'
2018-11-08 19:23:39 +05:30
.col-12
2017-08-17 22:00:37 +05:30
.text-content
2018-03-17 18:26:18 +05:30
%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-12-13 13:39:08 +05:30
.text-center
- if can?(current_user, :admin_label, @project)
2022-08-27 11:52:29 +05:30
= link_to _('New label'), new_project_label_path(@project), class: 'btn gl-button btn-confirm', title: _('New label'), id: 'new_label_link'
2021-04-17 20:07:23 +05:30
= link_to _('Generate a default set of labels'), generate_project_labels_path(@project), method: :post, class: 'btn gl-button btn-confirm-secondary', title: _('Generate a default set of labels'), id: 'generate_labels_link'
2018-12-13 13:39:08 +05:30
- if can?(current_user, :admin_label, @group)
2021-04-17 20:07:23 +05:30
= link_to _('New label'), new_group_label_path(@group), class: 'btn gl-button btn-confirm', title: _('New label'), id: 'new_label_link'