Project

General

Profile

Patch #4776 » totalTime.patch

Ewan Makepeace, 2010-11-23 05:08

View differences:

app/views/issues/_list.rhtml (working copy)
19 19
    <tr class="group open">
20 20
    	<td colspan="<%= query.columns.size + 2 %>">
21 21
    		<span class="expander" onclick="toggleRowGroup(this); return false;">&nbsp;</span>
22
      	<%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group] %>)</span>
22
      	<%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group] %>, <%= l(:label_total) %>: <%= @issue_sum_by_group[group] %>)</span>
23 23
    	</td>
24 24
		</tr>
25 25
		<% previous_group = group %>
......
34 34
</table>
35 35
</div>
36 36
<% end -%>
37
<p align="right">
38
    Current page: <b><%=issues.collect(&:estimated_hours).reject {|hours| hours.nil?}.sum %></b>
39
    <%= l(:label_total) %>: <b><%=@query.issue_sum %></b>
40
</p>
(7-7/13)