2016-11-12 18:51:47 -05:00
.row.empty-state.labels
2017-05-10 12:57:39 -04:00
.col-xs-12
2016-11-12 18:51:47 -05:00
.svg-content
= render 'shared/empty_states/icons/labels.svg'
2017-05-10 12:57:39 -04:00
.col-xs-12.text-center
2016-11-12 18:51:47 -05:00
.text-content
%h4 Labels can be applied to issues and merge requests to categorize them.
2017-03-10 06:10:48 -05:00
%p You can also star a label to make it a priority label.
2016-11-12 18:51:47 -05:00
- if can?(current_user, :admin_label, @project)
2017-06-29 13:06:35 -04:00
= link_to 'New label', new_project_label_path(@project), class: 'btn btn-new', title: 'New label', id: 'new_label_link'
= 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'