diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index ef1b5c4..4e35eef 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -44,6 +44,7 @@ class ProjectsController < ApplicationController include RepositoriesHelper include ProjectsHelper helper :members + helper :reports # Lists visible projects def index diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 8452a02..6abd96d 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -19,24 +19,48 @@
+ | <%=l(:label_open_issues_plural)%> | +<%=l(:label_closed_issues_plural)%> | +<%=l(:label_total)%> | +
---|---|---|---|
<%= link_to h(row.name), aggregate_path(@project, row.name, row) %> | +<%= aggregate_link issues_by_subproject, { "project_id" => row.id, "closed" => 0 }, aggregate_path(@project, row.id, row, :status_id => "o") %> | +<%= aggregate_link issues_by_subproject, { "project_id" => row.id, "closed" => 1 }, aggregate_path(@project, row.name, row, :status_id => "c") %> | +<%= aggregate_link issues_by_subproject, { "project_id" => row.id }, aggregate_path(@project, row.name, row, :status_id => "*") %> | +