]> source.dussan.org Git - redmine.git/commitdiff
Replaces two more occurences of del and attachment icons (#23980).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sat, 7 Sep 2024 11:54:02 +0000 (11:54 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sat, 7 Sep 2024 11:54:02 +0000 (11:54 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@23034 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/attachments/edit_all.html.erb
app/views/my/_sidebar.html.erb

index 47ecc6a02f0ac65fb77bb36c57ccb552ae4b6948..2b611ebaf64e87563ba9ab4b56b8feafc368dcac 100644 (file)
@@ -11,7 +11,7 @@
   <% @attachments.each do |attachment| %>
     <tr>
       <td colspan="2">
-        <span class="icon icon-attachment"><%= attachment.filename_was %></span>
+        <span class="icon icon-attachment"><%= icon_with_label('attachment', attachment.filename_was) %></span>
         <span class="size">(<%= number_to_human_size attachment.filesize %>)</span>
         <span class="author"><%= attachment.author %>, <%= format_time(attachment.created_on) %></span>
       </td>
index cd4860796d60c5c7c3910cc40f883b09f8c6a814..9a2b24ef816406347d4647819eb93be05d4fac28 100644 (file)
@@ -4,7 +4,7 @@
 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
 
 <% if @user.own_account_deletable? %>
-  <p><%= link_to(l(:button_delete_my_account), delete_my_account_path, :class => 'icon icon-del') %></p>
+  <p><%= link_to(icon_with_label('del', l(:button_delete_my_account)), delete_my_account_path, :class => 'icon icon-del') %></p>
 <% end %>
 
 <h4><%= l(:label_feeds_access_key) %></h4>