Compare commits

...

2 commits

Author SHA1 Message Date
L3D
00d172657b
Merge pull request #56 from c3woc/amt
Fix amount on alternate ingedient
2023-07-26 12:06:54 +02:00
L3D
f5b5bb233f Fix amount on alternate ingedient
https://github.com/c3woc/c3woc-website/issues/55
2023-07-26 12:06:34 +02:00
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 -%}