Project

General

Profile

Feature #691 » column_totals_reports_r16111.diff

Go MAEDA, 2016-12-25 09:14

View differences:

app/views/reports/_details.html.erb (working copy)
</tr>
<% end %>
</tbody>
<tfoot>
<tr>
<td align="right"><%= l(:label_total_plural) %>:</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.html.erb (working copy)
</tr>
<% end %>
</tbody>
<tfoot>
<tr>
<td align="right"><%= l(:label_total_plural) %>:</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)
tr.issue.idnt-9 td.subject {padding-left: 152px; background-position: 136px 50%;}
table.issue-report {table-layout:fixed;}
table.issue-report.list tfoot td { background-color:#EEEEEE; padding-top: 4px; padding-bottom: 4px; white-space:nowrap; font-weight: bold;}
tr.entry { border: 1px solid #f8f8f8; }
tr.entry td { white-space: nowrap; }
(2-2/4)