From 898a55fa7081a8649bd5142a25e2a37a5ba882b3 2017-01-14 10:04:00 From: Jean-Philippe Lang Date: 2017-01-14 10:04:00 Subject: [PATCH] Add 'icon' and 'icon-add' classes to new enum links (#24776). Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16187 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erb index b832d5c..65f7afb 100644 --- a/app/views/enumerations/index.html.erb +++ b/app/views/enumerations/index.html.erb @@ -5,7 +5,7 @@ <% enumerations = klass.shared %> -

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %>

+

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name), :class => 'icon icon-add' %>

<% if enumerations.any? %>