Mercurial > hg > soundsoftware-site
diff app/views/projects/index.html.erb @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | 261b3d9a4903 |
children | a1bdbf8a87d5 |
line wrap: on
line diff
--- a/app/views/projects/index.html.erb Tue Sep 09 09:28:31 2014 +0100 +++ b/app/views/projects/index.html.erb Tue Sep 09 09:29:00 2014 +0100 @@ -3,12 +3,7 @@ <% end %> <div class="contextual"> - <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %> - <%= link_to(l(:label_issue_view_all), issues_path) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %> - <%= link_to(l(:label_overall_spent_time), time_entries_path) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %> - <%= link_to l(:label_overall_activity), - { :controller => 'activities', :action => 'index', - :id => nil } %> + <%= render_project_action_links %> </div> <h2><%= l(:label_project_plural) %></h2>