Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add a space after the unit in nutritional planes

Roland Geiderec80b1e1925d
diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.html
index 229cbb7af..dd19501cc 100644
--- a/wger/nutrition/templates/plan/view.html
+++ b/wger/nutrition/templates/plan/view.html
@@ -82,7 +82,7 @@ $(document).ready(function() {
<li>
{% if item.get_unit_type == MEALITEM_WEIGHT_GRAM %}{{ item.amount|floatformat:"0" }}g
{% else %}
- {{ item.amount|floatformat:"0" }}{{ item.weight_unit.unit.name }}
+ {{ item.amount|floatformat:"0" }} × {{ item.weight_unit.unit.name }}
{% endif %}
{{ item.ingredient.name }}