Project

General

Profile

Patch #691 » column_totals_reports_r16111.diff

Go MAEDA, 2016-12-25 09:14

View differences:

app/views/reports/_details.html.erb (working copy)
24 24
</tr>
25 25
<% end %>
26 26
</tbody>
27
<tfoot>
28
<tr>
29
  <td align="right"><%= l(:label_total_plural) %>:</td>
30
  <% for status in @statuses %>
31
  <td align="center"><%= aggregate_link data, { "status_id" => status.id },
32
                                                :controller => 'issues', :action => 'index', :project_id => @project,
33
                                                :set_filter => 1,
34
                                                "status_id" => status.id %></td>
35
  <% end %>
36
  <td align="center"><%= aggregate_link data, { "closed" => 0 },
37
                                                :controller => 'issues', :action => 'index', :project_id => @project,
38
                                                :set_filter => 1,
39
                                                "status_id" => "o" %></td>
40
  <td align="center"><%= aggregate_link data, { "closed" => 1 },
41
                                                :controller => 'issues', :action => 'index', :project_id => @project,
42
                                                :set_filter => 1,
43
                                                "status_id" => "c" %></td>
44
  <td align="center"><%= aggregate_link data, { },
45
                                                :controller => 'issues', :action => 'index', :project_id => @project,
46
                                                :set_filter => 1,
47
                                                "status_id" => "*" %></td>
48
</tr>
49
</tfoot>
27 50
</table>
28 51
<% end
29 52
  reset_cycle %>
app/views/reports/_simple.html.erb (working copy)
18 18
</tr>
19 19
<% end %>
20 20
</tbody>
21
<tfoot>
22
<tr>
23
  <td align="right"><%= l(:label_total_plural) %>:</td>
24
  <td align="center"><%= aggregate_link data, { "closed" => 0 },
25
                                                :controller => 'issues', :action => 'index', :project_id => @project,
26
                                                :set_filter => 1,
27
                                                "status_id" => "o" %></td>
28
  <td align="center"><%= aggregate_link data, { "closed" => 1 },
29
                                                :controller => 'issues', :action => 'index', :project_id => @project,
30
                                                :set_filter => 1,
31
                                                "status_id" => "c" %></td>
32
  <td align="center"><%= aggregate_link data, { },
33
                                                :controller => 'issues', :action => 'index', :project_id => @project,
34
                                                :set_filter => 1,
35
                                                "status_id" => "*" %></td>
36
</tr>
37
</tfoot>
21 38
</table>
22 39
<% end
23 40
  reset_cycle %>
public/stylesheets/application.css (working copy)
270 270
tr.issue.idnt-9 td.subject {padding-left: 152px; background-position: 136px 50%;}
271 271

  
272 272
table.issue-report {table-layout:fixed;}
273
table.issue-report.list tfoot td { background-color:#EEEEEE; padding-top: 4px; padding-bottom: 4px; white-space:nowrap; font-weight: bold;}
273 274

  
274 275
tr.entry { border: 1px solid #f8f8f8; }
275 276
tr.entry td { white-space: nowrap; }
(2-2/2)