diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-20 08:50:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-20 08:50:39 +0000 |
commit | 7467c145c03c07f42c844d52956fa708bb7d05ee (patch) | |
tree | 29b5d09a64047cf076c3eca8257c087de3fea268 /app/views/messages | |
parent | 2ec87100a91f88e8eb220225141a3873e9aaf933 (diff) | |
download | redmine-7467c145c03c07f42c844d52956fa708bb7d05ee.tar.gz redmine-7467c145c03c07f42c844d52956fa708bb7d05ee.zip |
Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
"Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it
Patch by Daniel Ritz.
git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages')
-rw-r--r-- | app/views/messages/show.html.erb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 23e6f0285..60c7d5f99 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -39,22 +39,26 @@ <div class="message reply" id="<%= "message-#{message.id}" %>"> <div class="contextual"> <%= link_to( - image_tag('comment.png'), + '', {:action => 'quote', :id => message}, :remote => true, :method => 'get', - :title => l(:button_quote)) if !@topic.locked? && authorize_for('messages', 'reply') %> + :title => l(:button_quote), + :class => 'icon icon-comment' + ) if !@topic.locked? && authorize_for('messages', 'reply') %> <%= link_to( - image_tag('edit.png'), + '', {:action => 'edit', :id => message}, - :title => l(:button_edit) + :title => l(:button_edit), + :class => 'icon icon-edit' ) if message.editable_by?(User.current) %> <%= link_to( - image_tag('delete.png'), + '', {:action => 'destroy', :id => message}, :method => :post, :data => {:confirm => l(:text_are_you_sure)}, - :title => l(:button_delete) + :title => l(:button_delete), + :class => 'icon icon-del' ) if message.destroyable_by?(User.current) %> </div> <h4> |