debian-mirror-gitlab/app/views/shared/empty_states/_labels.html.haml

12 lines
696 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
.row.empty-state.labels
2017-09-10 17:25:29 +05:30
.col-xs-12
2017-08-17 22:00:37 +05:30
.svg-content
= render 'shared/empty_states/icons/labels.svg'
2017-09-10 17:25:29 +05:30
.col-xs-12.text-center
2017-08-17 22:00:37 +05:30
.text-content
%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.
- if can?(current_user, :admin_label, @project)
2017-09-10 17:25:29 +05:30
= 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'