From e46b56d7fcad573e9531acae9337811e586ed7b8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 8 Jun 2008 22:45:22 +0000 Subject: [PATCH] "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 --- app/views/projects/index.rhtml | 1 + 1 file changed, 1 insertion(+) 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' }%>
-- 2.39.5