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/timelog/_list.html.erb | |
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/timelog/_list.html.erb')
-rw-r--r-- | app/views/timelog/_list.html.erb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb index 7ec60cdbd..df497d47e 100644 --- a/app/views/timelog/_list.html.erb +++ b/app/views/timelog/_list.html.erb @@ -21,12 +21,14 @@ <%= raw @query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, entry)}</td>"}.join %> <td class="buttons"> <% if entry.editable_by?(User.current) -%> - <%= link_to image_tag('edit.png'), edit_time_entry_path(entry), - :title => l(:button_edit) %> - <%= link_to image_tag('delete.png'), time_entry_path(entry), - :data => {:confirm => l(:text_are_you_sure)}, - :method => :delete, - :title => l(:button_delete) %> + <%= link_to '', edit_time_entry_path(entry), + :title => l(:button_edit), + :class => 'icon icon-edit' %> + <%= link_to '', time_entry_path(entry), + :data => {:confirm => l(:text_are_you_sure)}, + :method => :delete, + :title => l(:button_delete), + :class => 'icon-only icon-del' %> <% end -%> </td> </tr> |