Project

General

Profile

Patch #2281 » total_columns.diff

Patch from the current git master - Markus Knittig, 2008-12-05 22:06

View differences:

app/views/reports/_details.rhtml
44 44
<% end %>
45 45
</tbody>
46 46
</table>
47
<table style="border-collapse: collapse; width: 100%; font-weight: bold">
48
<tbody>
49
<tr>
50
  <td style="width:25%"><%= l(:label_total) %></td>
51
  <% for status in @statuses %>
52
    <td align="center" style="width:<%= col_width %>%"><%= aggregate data, { "status_id" => status.id }  %></td>
53
  <% end %>
54
  <td align="center" style="width:<%= col_width %>%"><%= aggregate data, { "closed" => 0 }  %></td>
55
  <td align="center" style="width:<%= col_width %>%"><%= aggregate data, { "closed" => 1 }  %></td>
56
  <td align="center" style="width:<%= col_width %>%"><%= aggregate data, {}  %></td>
57
</tr>
58
</tbody>
59
</table>
47 60
<% end
48 61
  reset_cycle %>
app/views/reports/_simple.rhtml
33 33
<% end %>
34 34
</tbody>
35 35
</table>
36
<table style="border-collapse: collapse; width: 100%; font-weight: bold">
37
<tbody>
38
<tr>
39
  <td style="width:25%"><%= l(:label_total) %></td>
40
  <td align="center" style="width:25%"><%= aggregate data, { "closed" => 0 }  %></td>
41
  <td align="center" style="width:25%"><%= aggregate data, { "closed" => 1 }  %></td>
42
  <td align="center" style="width:25%"><%= aggregate data, {}  %></td>
43
</tr>
44
</tbody>
45
</table>
36 46
<% end
37 47
  reset_cycle %>
(2-2/2)