From 18fffe03ebbc16e18653fb336b44fa987c8bd0ca Mon Sep 17 00:00:00 2001 From: corbreedy Date: Sun, 20 Feb 2022 12:42:22 +0100 Subject: [PATCH] Termin Seite --- hpst/static/css/sinnes-tau.css | 7 +++++++ hpst/templates/termin.html | 9 +++------ hpst/templates/wildnispaedagogik.html | 5 +++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/hpst/static/css/sinnes-tau.css b/hpst/static/css/sinnes-tau.css index 7cced0e..a2cca89 100644 --- a/hpst/static/css/sinnes-tau.css +++ b/hpst/static/css/sinnes-tau.css @@ -31,3 +31,10 @@ body, html { height: 350px; border: 1; } +.sttframe { + top: 10; + left: 10; + width: 100%; + height: 350px; + border: 1; +} diff --git a/hpst/templates/termin.html b/hpst/templates/termin.html index 3ff397c..526b246 100644 --- a/hpst/templates/termin.html +++ b/hpst/templates/termin.html @@ -19,9 +19,9 @@

{{termin.titel}}

{{termin.teaser}}

- Termin
+ Termin @@ -43,7 +43,7 @@ - + {% else %} @@ -53,7 +53,7 @@ - + {% endif %} {% money_localize '0.00' 'EUR' as ZERO_MONEY_OBJECT %} {% if termin.preis != ZERO_MONEY_OBJECT %} @@ -63,19 +63,16 @@ {% endif %} {% if termin.freieplaetze > 3 %} - {% elif termin.freieplaetze > 0 %} - {% elif termin.freieplaetze == 0 %} - diff --git a/hpst/templates/wildnispaedagogik.html b/hpst/templates/wildnispaedagogik.html index 22bef78..4f4a5b2 100644 --- a/hpst/templates/wildnispaedagogik.html +++ b/hpst/templates/wildnispaedagogik.html @@ -83,5 +83,10 @@ function showDivs(n) { + + +{% if termine %} + {% include "termine_schnipp.html" %} +{% endif %} {% endblock %}
{{termin.text|safe}}Hinterstöcken 26, 96317 Kronach

Größere Karte anzeigen

Größere Karte anzeigen

{{termin.ort | safe}}

Freie Plätze: {{termin.freieplaetze}}
Freie Plätze: {{termin.freieplaetze}}
Keine Freie Plätze mehr!