From 8ae9610a9981c4efa95fa53cc4d9ea43caa8df3c Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Tue, 26 Nov 2024 15:52:13 +0100 Subject: [PATCH] use svg for author edit --- app/views/issues/_change_author.html.slim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/issues/_change_author.html.slim b/app/views/issues/_change_author.html.slim index 8a9b61b5..6572e1fc 100644 --- a/app/views/issues/_change_author.html.slim +++ b/app/views/issues/_change_author.html.slim @@ -3,7 +3,8 @@ - if author_options.present? p#change_author = form.label_for_field :author_id - = link_to_function tag.span(l(:button_edit), class: 'icon icon-edit'), '$(this).hide(); $("#issue_author_id").show()' + = link_to_function svg_icon_tag('edit', label: :button_edit, wrapper: :span, plugin: ''), + '$(this).hide(); $("#issue_author_id").show()' = form.select :author_id, author_options, { required: true, no_label: true }, style: 'display: none;' javascript: $('#change_author').insertBefore($('#issue_tracker_id').parent());