Feature #691 » column_totals_reports.diff
| app/views/reports/_details.rhtml (working copy) | ||
|---|---|---|
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<td align="right">Totals:</td>
|
||
|
<% for status in @statuses %>
|
||
|
<td align="center"><%= aggregate_link data, { "status_id" => status.id },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => status.id %></td>
|
||
|
<% end %>
|
||
|
<td align="center"><%= aggregate_link data, { "closed" => 0 },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => "o" %></td>
|
||
|
<td align="center"><%= aggregate_link data, { "closed" => 1 },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => "c" %></td>
|
||
|
<td align="center"><%= aggregate_link data, { },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => "*" %></td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
<% end
|
||
|
reset_cycle %>
|
||
| app/views/reports/_simple.rhtml (working copy) | ||
|---|---|---|
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<td align="right">Totals:</td>
|
||
|
<td align="center"><%= aggregate_link data, { "closed" => 0 },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => "o" %></td>
|
||
|
<td align="center"><%= aggregate_link data, { "closed" => 1 },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => "c" %></td>
|
||
|
<td align="center"><%= aggregate_link data, { },
|
||
|
:controller => 'issues', :action => 'index', :project_id => @project,
|
||
|
:set_filter => 1,
|
||
|
"status_id" => "*" %></td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
<% end
|
||
|
reset_cycle %>
|
||
| public/stylesheets/application.css (working copy) | ||
|---|---|---|
|
table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;}
|
||
|
table.list td.id { width: 2%; text-align: center;}
|
||
|
table.list td.checkbox { width: 15px; padding: 0px;}
|
||
|
table.list tfoot td { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
|
||
|
tr.issue { text-align: center; white-space: nowrap; }
|
||
|
tr.issue td.subject, tr.issue td.category { white-space: normal; }
|
||