"New Project" link on Projects page for admin users (#1082).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1518 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 17 years ago
parent 0389c60129
commit e46b56d7fc
  1. 1
      app/views/projects/index.rhtml

@ -1,4 +1,5 @@
<div class="contextual"> <div class="contextual">
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.admin? %>
<%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> | <%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> |
<%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%> <%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
</div> </div>

Loading…
Cancel
Save