Improve preview

This commit is contained in:
L3D 2021-08-09 01:14:49 +02:00
parent 20b9271cee
commit f92f8bc170
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 12 additions and 4 deletions

View file

@ -276,7 +276,7 @@ processing:
notes:
###### flow_notes ######
note: Alternativ zu Sprudel kann auch fast jedes andere Kohlensäurehaltige Getränk verwendet werden.
note: Alternativ zu Sprudel kann auch fast jedes andere Kohlensäurehaltige Getränk verwendet werden
------
html:
#### flow_ingredients ####

View file

@ -13,7 +13,14 @@
{%- for ovn in child.oven.blocks -%}
{%- if ovn.amount is defined and ovn.amount != "" -%}
{{- '\n ' -}} <li>
{{- '\n ' -}} <span>Ofentemperatur: {{ ovn.amount }} {{ ovn.unit | default('C') }}</span>
{{- '\n ' -}} <span>Ofentemperatur: {{ ovn.amount }}
{%- if ovn.unit | default('C') == 'C' -%}
{{- ' °C' -}}
{%- else -%}
{{- ' ' -}}
{{- ovn.unit -}}
{%- endif -%}
</span>
{{- '\n ' -}} </li>
{%- endif -%}
{%- endfor -%}

View file

@ -9,7 +9,8 @@
{{- '\noven_temp:' -}}
{%- endif -%}
{{- '\n - amount: ' -}} '{{- ovn.amount -}}'
{{- '\n unit: ' -}} {{- ovn.unit | default('C') -}}
{{- '\n unit: ' -}}
{{- if ovn.unit | default('C') -}}
{%- endif -%}
{%- endfor -%}
{%- endif -%}