]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Print "Nein" if there is no operator.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 12 Jul 2022 19:48:03 +0000 (21:48 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 12 Jul 2022 19:48:03 +0000 (21:48 +0200)
wrpylib/templates/sledrun_wikitext.txt

index da6bd88b7cfcf67d13394c113c7e6c22eb29bc72..6d7216e458eb283c0f71b47dfc05693845b4e3f3 100644 (file)
@@ -61,7 +61,8 @@
 {%- for info in info_web %}
 ** {{ weblink(info) }}
 {%- endfor %}
-* '''Betreiber''': {{ operator }}
+* '''Betreiber''':
+{%- if has_operator is defined %} {% if has_operator %}{{ operator }}{% else %}''Nein''{% endif %}{% endif %}
 * '''Hütten''': {{ gastronomy_description }}
 {%- for info in gastronomy %}
 ** {% set space = joiner(" ") %}