Fix amount on alternate ingedient
https://github.com/c3woc/c3woc-website/issues/55
This commit is contained in:
parent
d1bc863844
commit
f5b5bb233f
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ amount: 200
|
||||||
------
|
------
|
||||||
unit: g
|
unit: g
|
||||||
###### flow_amounts ######
|
###### flow_amounts ######
|
||||||
amount: 1
|
amount: 2
|
||||||
------
|
------
|
||||||
unit: l
|
unit: l
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -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 -%}
|
||||||
|
|
Loading…
Reference in a new issue