]> source.dussan.org Git - redmine.git/commitdiff
Add 'icon' and 'icon-add' classes to new enum links (#24776).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Jan 2017 10:04:00 +0000 (10:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Jan 2017 10:04:00 +0000 (10:04 +0000)
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16187 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/enumerations/index.html.erb

index b832d5c99e9ef78b69a5dd200d8938d923675a83..65f7afba0a5ef51bba12c6e8f2ff84dd797995c6 100644 (file)
@@ -5,7 +5,7 @@
 
 <% enumerations = klass.shared %>
 
-<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
+<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name), :class => 'icon icon-add' %></p>
 
 <% if enumerations.any? %>
 <table class="list enumerations"><thead>