From: Marius Balteanu Date: Sat, 7 Sep 2024 11:54:02 +0000 (+0000) Subject: Replaces two more occurences of del and attachment icons (#23980). X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a37f343a57476e5e909624c26fe15faa38a485e5;p=redmine.git Replaces two more occurences of del and attachment icons (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23034 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/attachments/edit_all.html.erb b/app/views/attachments/edit_all.html.erb index 47ecc6a02..2b611ebaf 100644 --- a/app/views/attachments/edit_all.html.erb +++ b/app/views/attachments/edit_all.html.erb @@ -11,7 +11,7 @@ <% @attachments.each do |attachment| %> - <%= attachment.filename_was %> + <%= icon_with_label('attachment', attachment.filename_was) %> (<%= number_to_human_size attachment.filesize %>) <%= attachment.author %>, <%= format_time(attachment.created_on) %> diff --git a/app/views/my/_sidebar.html.erb b/app/views/my/_sidebar.html.erb index cd4860796..9a2b24ef8 100644 --- a/app/views/my/_sidebar.html.erb +++ b/app/views/my/_sidebar.html.erb @@ -4,7 +4,7 @@ <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %>

<% if @user.own_account_deletable? %> -

<%= link_to(l(:button_delete_my_account), delete_my_account_path, :class => 'icon icon-del') %>

+

<%= link_to(icon_with_label('del', l(:button_delete_my_account)), delete_my_account_path, :class => 'icon icon-del') %>

<% end %>

<%= l(:label_feeds_access_key) %>