From: Jean-Philippe Lang Date: Sun, 8 Jun 2008 22:45:22 +0000 (+0000) Subject: "New Project" link on Projects page for admin users (#1082). X-Git-Tag: 0.8.0-RC1~463 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e46b56d7fcad573e9531acae9337811e586ed7b8;p=redmine.git "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 --- diff --git a/app/views/projects/index.rhtml b/app/views/projects/index.rhtml index e12b05979..4c68717f5 100644 --- a/app/views/projects/index.rhtml +++ b/app/views/projects/index.rhtml @@ -1,4 +1,5 @@
+ <%= 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_overall_activity), { :controller => 'projects', :action => 'activity' }%>