summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-08 22:45:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-08 22:45:22 +0000
commite46b56d7fcad573e9531acae9337811e586ed7b8 (patch)
treee9f86bfe1c7f349afecf31aedee853443b2e10db /app/views/projects
parent0389c60129636969d3727b752625d95a559deff6 (diff)
downloadredmine-e46b56d7fcad573e9531acae9337811e586ed7b8.tar.gz
redmine-e46b56d7fcad573e9531acae9337811e586ed7b8.zip
"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
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/index.rhtml1
1 files changed, 1 insertions, 0 deletions
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 @@
<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_overall_activity), { :controller => 'projects', :action => 'activity' }%>
</div>