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

_label.html.haml « labels « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d934654c5d807389b81a3c7225bd5980e07d62c (plain)
1
2
3
4
5
6
7
%li.label-list-item{ id: dom_id(label) }
  = render "shared/label_row", label: label.present(issuable_subject: nil)
  .label-actions-list
    = link_to edit_admin_label_path(label), class: 'btn btn-transparent label-action has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
      = sprite_icon('pencil')
    = link_to admin_label_path(label), class: 'btn btn-transparent remove-row label-action has-tooltip', title: _('Delete'), data: { placement: 'bottom', confirm: "Delete this label? Are you sure?" }, aria_label: _('Delete'), method: :delete, remote: true do
      = sprite_icon('remove')