debian-mirror-gitlab/app/views/admin/labels/_label.html.haml

8 lines
650 B
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
%li.label-list-item{ id: dom_id(label) }
2019-07-31 22:56:46 +05:30
= render "shared/label_row", label: label.present(issuable_subject: nil)
2018-11-18 11:00:15 +05:30
.label-actions-list
2021-01-03 14:25:43 +05:30
= link_to edit_admin_label_path(label), class: 'btn gl-button btn-transparent label-action has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
2018-11-18 11:00:15 +05:30
= sprite_icon('pencil')
2021-01-03 14:25:43 +05:30
= link_to admin_label_path(label), class: 'btn gl-button 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
2018-11-18 11:00:15 +05:30
= sprite_icon('remove')