Merge pull request #56 from c3woc/amt
Fix amount on alternate ingedient
This commit is contained in:
commit
00d172657b
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