67 lines
3.7 KiB
HTML
67 lines
3.7 KiB
HTML
|
{%- for ing1 in child.ingredients.blocks %}
|
||
|
{%- if ing1.ingredient is defined and ing1.ingredient != "" -%}
|
||
|
{%- if ing1.amounts is defined and ing1.amounts != "" and ing1.amounts.blocks is defined and ing1.amounts.blocks != "" -%}
|
||
|
{%- if ing1.amounts.blocks != [] -%}
|
||
|
{%- set ingredient_counter = loop.index -%}
|
||
|
{%- for amt in ing1.amounts.blocks -%}
|
||
|
{%- if loop.index == prt_loop -%}
|
||
|
{%- if amt.amount is defined and amt.amount != "" and amt.amount != 0 and amt.amount != '0' -%}
|
||
|
{%- if ing1.processing is defined and ing1.processing != "" and ing1.processing.blocks is defined and ing1.processing.blocks != "" -%}
|
||
|
{%- if ing1.processing.blocks != [] -%}
|
||
|
{{- '\n ' -}} <li>
|
||
|
{{- '\n ' -}}
|
||
|
<span id="processing_{{- ingredient_counter | string -}}" class="processing">Verarbeitungshinweis
|
||
|
{%- for tmp_prc in ing1.processing.blocks -%}
|
||
|
{%- if loop.index == 2 -%}
|
||
|
{{- 'e' -}}
|
||
|
{%- endif -%}
|
||
|
{%- endfor -%}
|
||
|
{{- ' #' -}}
|
||
|
{{- ingredient_counter | string -}}:</span>
|
||
|
{{- '\n ' -}}
|
||
|
<ul>
|
||
|
{%- for prc in ing1.processing.blocks -%}
|
||
|
{{- '\n ' -}} <li>
|
||
|
{{- '\n ' -}}
|
||
|
<span class="ingredientprocessing">{{ prc.process }}</span>
|
||
|
{{- '\n ' -}} </li>
|
||
|
{%- endfor -%}
|
||
|
{{- '\n ' -}} </ul>
|
||
|
{{- '\n ' -}} </li>
|
||
|
{{- '\n ' -}} </ul>
|
||
|
{%- endif -%}
|
||
|
{%- endif -%}
|
||
|
{%- if ing1.notes is defined and ing1.notes != "" and ing1.notes.blocks is defined and ing1.notes.blocks != "" -%}
|
||
|
{%- if ing1.notes.blocks != [] -%}
|
||
|
{{- '\n ' -}} <ul>
|
||
|
{{- '\n ' -}} <li>
|
||
|
{{- '\n ' -}}
|
||
|
<span id="note_{{- ingredient_counter | string -}}" class="ingredientnotes">Notiz
|
||
|
{%- for tmp_nde in ing1.notes.blocks -%}
|
||
|
{%- if loop.index == 2 -%}
|
||
|
{{- 'en' -}}
|
||
|
{%- endif -%}
|
||
|
{%- endfor -%}
|
||
|
{{- ' #' -}} {{- ingredient_counter | string -}}:</span>
|
||
|
{{- '\n ' -}}
|
||
|
<ul>
|
||
|
{%- for nde in ing1.notes.blocks -%}
|
||
|
{{- '\n ' -}} <li>
|
||
|
{{- '\n ' -}}
|
||
|
<span class="ingredientnotes">{{ nde.note }}</span>
|
||
|
{{- '\n ' -}} </li>
|
||
|
{%- endfor -%}
|
||
|
{{- '\n ' -}} </ul>
|
||
|
{{- '\n ' -}} </li>
|
||
|
{{- '\n ' -}} </ul>
|
||
|
{%- endif -%}
|
||
|
{%- endif -%}
|
||
|
{{- '\n ' -}} </li>
|
||
|
{%- endif -%}
|
||
|
{%- endif -%}
|
||
|
{%- endfor -%}
|
||
|
{%- endif -%}
|
||
|
{%- endif -%}
|
||
|
{%- endif -%}
|
||
|
{%- endfor -%}
|