redesign website #1

Merged
l3d merged 80 commits from ui into main 2022-05-18 00:35:38 +02:00
3 changed files with 12 additions and 4 deletions
Showing only changes of commit f92f8bc170 - Show all commits

View file

@ -85,7 +85,7 @@ processing:
notes: notes:
##### flow_notes ##### ##### flow_notes #####
note: 1l Vollei entspricht 20 Eiern note: 1 l Vollei entspricht 20 Eiern
----- -----
html: html:
---- ----
@ -276,7 +276,7 @@ processing:
notes: notes:
###### flow_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: html:
#### flow_ingredients #### #### flow_ingredients ####

View file

@ -13,7 +13,14 @@
{%- for ovn in child.oven.blocks -%} {%- for ovn in child.oven.blocks -%}
{%- if ovn.amount is defined and ovn.amount != "" -%} {%- if ovn.amount is defined and ovn.amount != "" -%}
{{- '\n ' -}} <li> {{- '\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> {{- '\n ' -}} </li>
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}

View file

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