summaryrefslogtreecommitdiffstats
path: root/app/views/admin/info.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-20 08:50:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-20 08:50:39 +0000
commit7467c145c03c07f42c844d52956fa708bb7d05ee (patch)
tree29b5d09a64047cf076c3eca8257c087de3fea268 /app/views/admin/info.html.erb
parent2ec87100a91f88e8eb220225141a3873e9aaf933 (diff)
downloadredmine-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/admin/info.html.erb')
-rw-r--r--app/views/admin/info.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erb
index 14d33bab0..2be1d28fd 100644
--- a/app/views/admin/info.html.erb
+++ b/app/views/admin/info.html.erb
@@ -6,8 +6,7 @@
<% @checklist.each do |label, result| %>
<tr class="<%= cycle 'odd', 'even' %>">
<td class="name"><%= label.is_a?(Symbol) ? l(label) : label %></td>
- <td class="tick"><%= image_tag((result ? 'true.png' : 'exclamation.png'),
- :style => "vertical-align:bottom;") %></td>
+ <td class="tick"><span class="icon-only <%= (result ? 'icon-ok' : 'icon-error') %>"></span></td>
</tr>
<% end %>
</table>