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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
755 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-04-29 21:17:54 +05:30
= link_to edit_admin_label_path(label), class: 'btn btn-default gl-button btn-default-tertiary label-action has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
2018-11-18 11:00:15 +05:30
= sprite_icon('pencil')
2022-04-04 11:22:00 +05:30
= link_to admin_label_path(label), class: 'btn btn-default gl-button btn-default-tertiary hover-red js-remove-label label-action has-tooltip', title: _('Delete'), data: { placement: 'bottom', confirm: _('Are you sure you want to delete this label?'), confirm_btn_variant: 'danger' }, aria: { label: _('Delete label') }, method: :delete, remote: true do
2018-11-18 11:00:15 +05:30
= sprite_icon('remove')