Project

General

Profile

Feature #6497 ยป view_projects_index_contextual_hook.patch

Jan from Planio www.plan.io, 2010-09-26 19:56

View differences:

app/views/projects/index.rhtml
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 9
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
10
    <%= call_hook(:view_projects_index_contextual)%>
10 11
</div>
11 12

  
12 13
<h2><%=l(:label_project_plural)%></h2>
    (1-1/1)