##// END OF EJS Templates
Test broken, display hours like in other tables (#23996)....
Jean-Philippe Lang -
r15585:8c9f9ba38b29
parent child
Show More
@@ -8,9 +8,9
8 8 <% total = 0 -%>
9 9 <% @report.periods.each do |period| -%>
10 10 <% sum = sum_hours(select_hours(hours_for_value, @report.columns, period.to_s)); total += sum -%>
11 <td class="hours"><%= html_hours(l_hours_short(sum)) if sum > 0 %></td>
11 <td class="hours"><%= html_hours(format_hours(sum)) if sum > 0 %></td>
12 12 <% end -%>
13 <td class="hours"><%= html_hours(l_hours_short(total)) if total > 0 %></td>
13 <td class="hours"><%= html_hours(format_hours(total)) if total > 0 %></td>
14 14 </tr>
15 15 <% if criterias.length > level+1 -%>
16 16 <%= render(:partial => 'report_criteria', :locals => {:criterias => criterias, :hours => hours_for_value, :level => (level + 1)}) %>
@@ -52,9 +52,9
52 52 <% total = 0 -%>
53 53 <% @report.periods.each do |period| -%>
54 54 <% sum = sum_hours(select_hours(@report.hours, @report.columns, period.to_s)); total += sum -%>
55 <td class="hours"><%= html_hours(l_hours_short(sum)) if sum > 0 %></td>
55 <td class="hours"><%= html_hours(format_hours(sum)) if sum > 0 %></td>
56 56 <% end -%>
57 <td class="hours"><%= html_hours(l_hours_short(total)) if total > 0 %></td>
57 <td class="hours"><%= html_hours(format_hours(total)) if total > 0 %></td>
58 58 </tr>
59 59 </tbody>
60 60 </table>
General Comments 0
You need to be logged in to leave comments. Login now