Patch #8772 ยป 0001-Added-view_projects_index_activity_menu-hook.patch
| app/views/projects/index.rhtml | ||
|---|---|---|
| 6 | 6 |
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
|
| 7 | 7 |
<%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
|
| 8 | 8 |
<%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
|
| 9 |
<%= call_hook(:view_projects_index_activity_menu) %> |
|
| 9 | 10 |
<%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
|
| 10 | 11 |
</div> |
| 11 | 12 | |