]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Add comment for walkup time to template.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Sat, 11 Jun 2022 14:11:48 +0000 (16:11 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Sat, 11 Jun 2022 14:11:48 +0000 (16:11 +0200)
wrpylib/templates/sledrun_wikitext.txt

index 33bb9d256cb993a9e8da6618633d7621164ba84c..b458ebacd06f5c3973862a00b306170c45b65fa4 100644 (file)
 * {{Position unten}}
 * {{Höhenunterschied}}
 * {{Bahnlänge}}
-* {{Gehzeit}}
-{% endraw -%}
+* {{Gehzeit}}{% endraw %}
+  {%- if walkup_time_note %} ({{ walkup_time_note }})
+  {%- else %}
+  {%- if walkup_possible is false %} (ein Aufstieg zu Fuß ist nicht möglich){% endif %}
+  {%- endif %}
 * '''Beleuchtung''': {{ nightlight_description | default( nightlight_possible | default("''Unbekannt''") ) | trim }}
 * '''Rodelverleih''': {% if sled_rental_description -%}
 {{ sled_rental_description | trim }}