Merge pull request #56 from c3woc/amt

Fix amount on alternate ingedient
This commit is contained in:
L3D 2023-07-26 12:06:54 +02:00 committed by GitHub
commit 00d172657b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ amount: 200
------ ------
unit: g unit: g
###### flow_amounts ###### ###### flow_amounts ######
amount: 1 amount: 2
------ ------
unit: l unit: l
----- -----

View file

@ -53,7 +53,7 @@
{%- if sst.usda_num is defined and sst.usda_num != "" -%} {%- if sst.usda_num is defined and sst.usda_num != "" -%}
{{- ' class=' -}}"usda_{{- sst.usda_num -}}" {{- ' class=' -}}"usda_{{- sst.usda_num -}}"
{%- endif -%} {%- endif -%}
>(alternativ {{ amt2.amount }} {{ sst.ingredient }})</span></i> >(alternativ {{ amt2.amount }} {{ amt2.unit | default('') }} {{ sst.ingredient }})</span></i>
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}