Adds icon on new item links in project settings.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7935 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-26 14:49:29 +00:00
parent f9aa0212ac
commit 307e97cc03
3 changed files with 3 additions and 3 deletions

View File

@ -29,4 +29,4 @@
<p class="nodata"><%= l(:label_no_data) %></p> <p class="nodata"><%= l(:label_no_data) %></p>
<% end %> <% 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>

View File

@ -26,4 +26,4 @@
<p class="nodata"><%= l(:label_no_data) %></p> <p class="nodata"><%= l(:label_no_data) %></p>
<% end %> <% 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>

View File

@ -38,4 +38,4 @@
<% end %> <% end %>
</div> </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>