Feature #691 » column_totals_reports.diff
| app/views/reports/_details.rhtml (working copy) | ||
|---|---|---|
| 43 | 43 |
</tr> |
| 44 | 44 |
<% end %> |
| 45 | 45 |
</tbody> |
| 46 |
<tfoot> |
|
| 47 |
<tr> |
|
| 48 |
<td align="right">Totals:</td> |
|
| 49 |
<% for status in @statuses %> |
|
| 50 |
<td align="center"><%= aggregate_link data, { "status_id" => status.id },
|
|
| 51 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 52 |
:set_filter => 1, |
|
| 53 |
"status_id" => status.id %></td> |
|
| 54 |
<% end %> |
|
| 55 |
<td align="center"><%= aggregate_link data, { "closed" => 0 },
|
|
| 56 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 57 |
:set_filter => 1, |
|
| 58 |
"status_id" => "o" %></td> |
|
| 59 |
<td align="center"><%= aggregate_link data, { "closed" => 1 },
|
|
| 60 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 61 |
:set_filter => 1, |
|
| 62 |
"status_id" => "c" %></td> |
|
| 63 |
<td align="center"><%= aggregate_link data, { },
|
|
| 64 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 65 |
:set_filter => 1, |
|
| 66 |
"status_id" => "*" %></td> |
|
| 67 |
</tr> |
|
| 68 |
</tfoot> |
|
| 46 | 69 |
</table> |
| 47 | 70 |
<% end |
| 48 | 71 |
reset_cycle %> |
| app/views/reports/_simple.rhtml (working copy) | ||
|---|---|---|
| 32 | 32 |
</tr> |
| 33 | 33 |
<% end %> |
| 34 | 34 |
</tbody> |
| 35 |
<tfoot> |
|
| 36 |
<tr> |
|
| 37 |
<td align="right">Totals:</td> |
|
| 38 |
<td align="center"><%= aggregate_link data, { "closed" => 0 },
|
|
| 39 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 40 |
:set_filter => 1, |
|
| 41 |
"status_id" => "o" %></td> |
|
| 42 |
<td align="center"><%= aggregate_link data, { "closed" => 1 },
|
|
| 43 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 44 |
:set_filter => 1, |
|
| 45 |
"status_id" => "c" %></td> |
|
| 46 |
<td align="center"><%= aggregate_link data, { },
|
|
| 47 |
:controller => 'issues', :action => 'index', :project_id => @project, |
|
| 48 |
:set_filter => 1, |
|
| 49 |
"status_id" => "*" %></td> |
|
| 50 |
</tr> |
|
| 51 |
</tfoot> |
|
| 35 | 52 |
</table> |
| 36 | 53 |
<% end |
| 37 | 54 |
reset_cycle %> |
| public/stylesheets/application.css (working copy) | ||
|---|---|---|
| 83 | 83 |
table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;}
|
| 84 | 84 |
table.list td.id { width: 2%; text-align: center;}
|
| 85 | 85 |
table.list td.checkbox { width: 15px; padding: 0px;}
|
| 86 |
table.list tfoot td { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
|
|
| 86 | 87 | |
| 87 | 88 |
tr.issue { text-align: center; white-space: nowrap; }
|
| 88 | 89 |
tr.issue td.subject, tr.issue td.category { white-space: normal; }
|