summaryrefslogtreecommitdiff
path: root/app/views/shared/empty_states/_labels.html.haml
blob: e8749ee395601c4ac896a54a3c203323d67d0c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
.row.empty-state.labels
  .col-12
    .svg-content
      = image_tag 'illustrations/labels.svg'
  .col-12
    .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)
        = 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'