##// END OF EJS Templates
Test failure (#23996)....
Jean-Philippe Lang -
r15587:da22fb0d4101
parent child
Show More
@@ -46,7 +46,7 entries_by_day = entries.group_by(&:spent_on)
46 <tr class="odd">
46 <tr class="odd">
47 <td><strong><%= day == User.current.today ? l(:label_today).titleize : format_date(day) %></strong></td>
47 <td><strong><%= day == User.current.today ? l(:label_today).titleize : format_date(day) %></strong></td>
48 <td colspan="2"></td>
48 <td colspan="2"></td>
49 <td class="hours"><em><%= html_hours(l_hours_short(entries_by_day[day].sum(&:hours))) %></em></td>
49 <td class="hours"><em><%= html_hours(format_hours(entries_by_day[day].sum(&:hours))) %></em></td>
50 </tr>
50 </tr>
51 <% entries_by_day[day].each do |entry| -%>
51 <% entries_by_day[day].each do |entry| -%>
52 <tr class="time-entry hascontextmenu">
52 <tr class="time-entry hascontextmenu">
@@ -56,7 +56,7 entries_by_day = entries.group_by(&:spent_on)
56 </td>
56 </td>
57 <td class="subject"><%= entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td>
57 <td class="subject"><%= entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td>
58 <td class="comments"><%= entry.comments %></td>
58 <td class="comments"><%= entry.comments %></td>
59 <td class="hours"><%= html_hours(l_hours_short(entry.hours)) %></td>
59 <td class="hours"><%= html_hours(format_hours(entry.hours)) %></td>
60 </tr>
60 </tr>
61 <% end -%>
61 <% end -%>
62 <% end -%>
62 <% end -%>
General Comments 0
You need to be logged in to leave comments. Login now