Fix amount

This commit is contained in:
L3D 2023-05-25 15:02:18 +02:00
parent 5051d7ff87
commit a5b2e68272
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 7 additions and 2 deletions

View file

@ -140,7 +140,12 @@ ingredient: Fruchtbuttermilch
---- ----
usda_num: 011110906151 usda_num: 011110906151
---- ----
amounts: amounts:
##### flow_amounts #####
amount: 1
-----
unit: l
---- ----
substitutions: substitutions:
---- ----

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 {{ sst.ingredient }})</span></i> >(alternativ {{ amt2.amount }} {{ sst.ingredient }})</span></i>
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}