summaryrefslogtreecommitdiffstats
path: root/app/views/messages
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-05 20:35:12 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-05 20:35:12 +0000
commit7aeebede74fcd5e8ff1f74c09d6fda7d8473896d (patch)
treef830a0fac9c87b3da05c7f5022b7b18dedcb9df2 /app/views/messages
parent59323aecf29885a3a043d94d18106626dc6c216e (diff)
downloadredmine-7aeebede74fcd5e8ff1f74c09d6fda7d8473896d.tar.gz
redmine-7aeebede74fcd5e8ff1f74c09d6fda7d8473896d.zip
Replaces more icons with SVG icongs (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23021 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages')
-rw-r--r--app/views/messages/show.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb
index ba22f713c..64c69a0fe 100644
--- a/app/views/messages/show.html.erb
+++ b/app/views/messages/show.html.erb
@@ -35,7 +35,7 @@
<% unless @replies.empty? %>
<div id="replies">
-<h3 class="comments icon icon-comments"><%= l(:label_reply_plural) %> (<%= @reply_count %>)</h3>
+<h3 class="comments icon icon-comments"><%= icon_with_label('comments', l(:label_reply_plural)) %> (<%= @reply_count %>)</h3>
<% if !@topic.locked? && authorize_for('messages', 'reply') && @replies.size >= 3 %>
<p><%= toggle_link l(:button_reply), "reply", :focus => 'message_content', :scroll => "message_content" %></p>
<% end %>
@@ -43,7 +43,7 @@
<div class="message reply" id="<%= "message-#{message.id}" %>">
<div class="contextual">
<%= link_to(
- '',
+ icon_with_label('comment', l(:button_quote), icon_only: true),
{:action => 'quote', :id => message},
:remote => true,
:method => 'get',
@@ -51,13 +51,13 @@
:class => 'icon icon-comment'
) if !@topic.locked? && authorize_for('messages', 'reply') %>
<%= link_to(
- '',
+ icon_with_label('edit', l(:button_edit), icon_only: true),
{:action => 'edit', :id => message},
:title => l(:button_edit),
:class => 'icon icon-edit'
) if message.editable_by?(User.current) %>
<%= link_to(
- '',
+ icon_with_label('del', l(:button_delete), icon_only: true),
{:action => 'destroy', :id => message},
:method => :post,
:data => {:confirm => l(:text_are_you_sure)},