From 7467c145c03c07f42c844d52956fa708bb7d05ee Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 20 Jan 2016 08:50:39 +0000 Subject: 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 --- app/views/settings/_repositories.html.erb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'app/views/settings') diff --git a/app/views/settings/_repositories.html.erb b/app/views/settings/_repositories.html.erb index b3c5b1b16..bb7a23704 100644 --- a/app/views/settings/_repositories.html.erb +++ b/app/views/settings/_repositories.html.erb @@ -23,12 +23,7 @@ <% if enabled %> - <%= - image_tag( - (scm_class.scm_available ? 'true.png' : 'exclamation.png'), - :style => "vertical-align:bottom;" - ) - %> + <%= scm_class.scm_command %> <% end %> @@ -124,7 +119,8 @@ ) %> - <%= link_to(image_tag('delete.png'), '#', :class => 'delete-commit-keywords') %> + <%= link_to('', '#', + :class => 'delete-commit-keywords icon-only icon-del') %> <% end %> @@ -133,7 +129,10 @@ <%= l(:text_comma_separated) %> - <%= link_to(image_tag('add.png'), '#', :class => 'add-commit-keywords') %> + + <%= link_to('', '#', + :class => 'add-commit-keywords icon-only icon-add') %> + -- cgit v1.2.3