Fixed view rendering for empty groups

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@509 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent ce2d03900a
commit cd6593f12a
  1. 2
      app/views/cost_reports/_list_group_by.rhtml

@ -87,7 +87,7 @@
<% if cost_type %>
<%= pluralize(entry["unit_sum"], cost_type.unit, cost_type.unit_plural) %>
<%- else -%>
<%= entry["unit_sum"] + "h" %>
<%= (entry["unit_sum"] || "0") + "h" %>
<%- end %>
</td>
<%- end %>

Loading…
Cancel
Save