Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_labels.html.haml « empty_states « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4d2127c016173b17bcf9d73054bc78c394a42cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.row.empty-state.labels
  .col-12
    .svg-content.svg-150{ data: { qa_selector: 'label_svg_content' } }
      = image_tag 'illustrations/empty-state/empty-labels-md.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.")
      .text-center
        - if can?(current_user, :admin_label, @project)
          = link_button_to _('New label'), new_project_label_path(@project), title: _('New label'), id: 'new_label_link', variant: :confirm
          = link_button_to _('Generate a default set of labels'), generate_project_labels_path(@project), method: :post, title: _('Generate a default set of labels'), id: 'generate_labels_link', variant: :confirm, category: :secondary
        - if can?(current_user, :admin_label, @group)
          = link_button_to _('New label'), new_group_label_path(@group), title: _('New label'), id: 'new_label_link', variant: :confirm