Display readout list in tree format
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<td class="right ellipsible" style="border-left: none;"></td>
|
||||
<% @quantities.each do |q| %>
|
||||
<td class="right ellipsible">
|
||||
<%= format_value(@ingredient_summary[m][q], @ingredient_summary[:precision][q]) %>
|
||||
<%= format_amount(@ingredient_summary[m][q], @ingredient_summary[:precision][q]) %>
|
||||
</td>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<td class="right ellipsible" style="border-left: none;"></td>
|
||||
<% @quantities.each do |q| %>
|
||||
<td class="right ellipsible">
|
||||
<%= format_value(@ingredient_summary[date][q], @ingredient_summary[:precision][q]) %>
|
||||
<%= format_amount(@ingredient_summary[date][q], @ingredient_summary[:precision][q]) %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td></td>
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
</td>
|
||||
<% @quantities.each do |q| %>
|
||||
<td class="right ellipsible">
|
||||
<%= format_value(@ingredients[i][q], @ingredient_summary[:precision][q],
|
||||
@ingredient_summary[:mfu_unit][q]) %>
|
||||
<%= format_amount(@ingredients[i][q], @ingredient_summary[:precision][q],
|
||||
@ingredient_summary[:mfu_unit][q]) %>
|
||||
</td>
|
||||
<% end %>
|
||||
<%# Moved buttons to helper to avoid spaces between buttons %>
|
||||
|
||||
Reference in New Issue
Block a user