diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 51679a0d7..b7cd8e6e8 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -6,7 +6,9 @@ <%= 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), { :controller => 'issues' }) + ' |' 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' }%> + <%= link_to l(:label_overall_activity), + { :controller => 'activities', :action => 'index', + :id => nil } %>

<%=l(:label_project_plural)%>