]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Render "Tiroler Rodelbahn Gütesiegel"
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 5 Jun 2022 16:35:00 +0000 (18:35 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Sun, 5 Jun 2022 16:35:00 +0000 (18:35 +0200)
wrpylib/templates/sledrun_wikitext.txt

index 583c4e9e44d5dd45ef18a4c1b6bc10d20a1c8458..d5bc0e4f3067adbbbf7a4d5f0dc69d1b34ef4920 100644 (file)
 == Allgemeines ==
 {{ rodelbahnbox }}
 {{ description | default("''Hier wird die Rodelbahn allgemein beschrieben.''") | trim }}
+{%- if sledrun_json.tiroler_naturrodelbahn_gütesiegel %}
+{% set gs = sledrun_json.tiroler_naturrodelbahn_gütesiegel %}
+{{ h.key_value_template('Tiroler Naturrodelbahn Gütesiegel', {
+    'Erstverleihung': gs.get('first_issued'),
+    'Verlängerung': gs.get('valid_from'),
+    'Forum': gs.get('forum_id'),
+    'Thread': gs.get('thread_id'),
+    'Anlagename': gs.get('name'),
+    'Organisation': gs.get('organization'),
+}) }}
+{%- endif %}
 {% raw %}
 * {{Position oben}}
 * {{Position unten}}