summaryrefslogtreecommitdiff
path: root/app/views/shared/empty_states/_labels.html.haml
blob: ba5c2dae09dba48620f767124e52abcbb2288593 (plain)
1
2
3
4
5
6
7
8
9
10
11
.row.empty-state.labels
  .pull-right.col-xs-12.col-sm-6
    .svg-content
      = render 'shared/empty_states/icons/labels.svg'
  .col-xs-12.col-sm-6
    .text-content
      %h4 Labels can be applied to issues and merge requests to categorize them.
      %p You can also star label to make it a priority label.
      - if can?(current_user, :admin_label, @project)
        = link_to 'New label', new_namespace_project_label_path(@project.namespace, @project), class: 'btn btn-new', title: 'New label', id: 'new_label_link'
        = link_to 'Generate a default set of labels', generate_namespace_project_labels_path(@project.namespace, @project), method: :post, class: 'btn btn-success btn-inverted', title: 'Generate a default set of labels', id: 'generate_labels_link'