]> source.dussan.org Git - redmine.git/commitdiff
Adds icon on new item links in project settings.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 26 Nov 2011 14:49:29 +0000 (14:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 26 Nov 2011 14:49:29 +0000 (14:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7935 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/settings/_boards.html.erb
app/views/projects/settings/_issue_categories.html.erb
app/views/projects/settings/_versions.html.erb

index ee3ac8998f1e1904bedc80a43bef0c46c2a392cb..fc5fe96c0b2b946d2056151a5bcd0a963e98dbd0 100644 (file)
@@ -29,4 +29,4 @@
 <p class="nodata"><%= l(:label_no_data) %></p>
 <% end %>
 
-<p><%= link_to_if_authorized l(:label_board_new), {:controller => 'boards', :action => 'new', :project_id => @project} %></p>
+<p><%= link_to_if_authorized l(:label_board_new), {:controller => 'boards', :action => 'new', :project_id => @project}, :class => 'icon icon-add' %></p>
index 297d31a721e67dda8acf9086268113f5dbf5bb4a..f5ea6d0dbfe0be5766125e39b3e107afb846fc1a 100644 (file)
@@ -26,4 +26,4 @@
 <p class="nodata"><%= l(:label_no_data) %></p>
 <% end %>
 
-<p><%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project) if User.current.allowed_to?(:manage_categories, @project) %></p>
+<p><%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_categories, @project) %></p>
index 14edb443f6147435229b1745c9536fafd214607f..7fc7dd272c20bdb9ccaa50e922eed21aa5c9ce49 100644 (file)
@@ -38,4 +38,4 @@
 <% end %>
 </div>
 
-<p><%= link_to_if_authorized l(:label_version_new), :controller => 'versions', :action => 'new', :project_id => @project %></p>
+<p><%= link_to_if_authorized l(:label_version_new), {:controller => 'versions', :action => 'new', :project_id => @project}, :class => 'icon icon-add' %></p>