summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2025-06-29 22:17:22 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2025-06-29 22:17:22 +0000
commitc39740564e4d49ac03be35e1a5276d2f4199856f (patch)
treeb7dccc0aab4e1495ad6b61994adbd590e6b41244
parent44c4eb1cc6ebf904db74461b24874e8ab2c2d0f3 (diff)
downloadredmine-c39740564e4d49ac03be35e1a5276d2f4199856f.tar.gz
redmine-c39740564e4d49ac03be35e1a5276d2f4199856f.zip
Merge r23848 from trunk to 6.0-stable (#42920).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23849 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/attachments/_form.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/attachments/_form.html.erb b/app/views/attachments/_form.html.erb
index c8bb84123..e5b10fb55 100644
--- a/app/views/attachments/_form.html.erb
+++ b/app/views/attachments/_form.html.erb
@@ -15,6 +15,7 @@
<% if saved_attachments.present? %>
<% saved_attachments.each_with_index do |attachment, i| %>
<span id="attachments_p<%= i %>">
+ <%= sprite_icon('attachment', icon_only: true, size: 16, css_class: 'svg-attachment') %>
<%= text_field_tag("#{attachment_param}[p#{i}][filename]", attachment.filename, :class => 'filename') %>
<% if attachment.container_id.present? %>
<%= link_to sprite_icon('del', l(:button_delete), icon_only: true), "#", :onclick => "$(this).closest('.attachments_form').find('.add_attachment').show(); $(this).parent().remove(); return false;", :class => 'icon-only icon-del' %>