From eee5a040281104b99c04812eaf298649342d60e7 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Fri, 14 Feb 2025 10:48:32 +0100 Subject: [PATCH] Change event costs to be freely choosable --- config.toml | 12 +++++++----- events.json | 23 +++++++---------------- templates/shortcodes/teckids_event.html | 4 ++-- 3 files changed, 16 insertions(+), 23 deletions(-) diff --git a/config.toml b/config.toml index ad32621..151b74b 100644 --- a/config.toml +++ b/config.toml @@ -153,8 +153,10 @@ information_for = "Information for …" teckids_community = "Teckids community" page_missing = "This page is not yet finished" page_missing_explanation = "Due to the creation of our new website being elaborate, the information on this page unfortunately is not complete." -event_cost_explanation = """It's important to us that everyone interested can take part in Hack’n’Sun. -We are aware that our prices are high for some families for any reason. If this is the case for you, please mail us the amount you want to pay. There's no need to tell us why.""" +event_cost_self = "choose yourself" +event_cost_explanation = """It's important to us that everyone interested can take part in our events. +Therefore, we will inform you what our costs for your participation will be, and you can freely choose +how much you pay yourself.""" event_fully_booked = "The event is fully booked. For further registrations or a waiting list, one can contact us via e-mail." event_info_registration = "All information and registration" write_email = "Write an e-mail" @@ -203,10 +205,10 @@ information_for = "Informationen für …" teckids_community = "Teckids-Gemeinschaft" page_missing = "Diese Seite fehlt leider noch" page_missing_explanation = "Da der Aufbau unserer neuen Website sehr aufwändig ist, sind die Informationen auf dieser Seite leider noch nicht vollständig." +event_cost_self = "frei wählbar" event_cost_explanation = """Uns ist wichtig, dass alle Interessierten an unserer Freizeit teilnehmen können. -Uns ist bewusst, dass die Kosten für viele Familien sehr hoch sind, ganz egal -aus welchen Gründen. Sollte der Betrag zu hoch sein, schickt uns bitte einfach -eine E-Mail mit eurem Wunschbetrag. Die Gründe dafür müsst ihr nicht nennen.""" +Deshalb informieren wir darüber, wie hoch unsere eigenen Kosten sind. +Alle Teilnehmenden können frei entscheiden, wieviel sie selber bezahlen.""" event_fully_booked = "Die Veranstaltung ist ausgebucht. Für weitere Anmeldungen oder Plätze auf der Warteliste können uns Interessierte per E-Mail kontaktieren." event_info_registration = "Alle Infos und Anmeldung" write_email = "E-Mail schreiben" diff --git a/events.json b/events.json index cb750bf..add90ca 100644 --- a/events.json +++ b/events.json @@ -3,15 +3,13 @@ "display_name": "Mini-FrogLabs Grazer Linux-Tage 2024", "description": "Workshopprogramm für Kinder und Jugendliche bei den Grazer Linux-Tagen 2024", "location": "Graz", - "date": "2024-04-06", - "cost": 40 + "date": "2024-04-06" }, "hacknsun-2024-bn": { "display_name": "Hack'n'Sun 2024 (Jugendzeltplatz Bonn)", "description": "Große Sommerfreizeit in Bonn-Bad Godesberg mit Ausflügen zu FrOScon und Museen", "location": "Bonn (Jugendzeltplatz)", "date": "2024-08-15", - "cost": 150, "fully_booked": true }, "hacknsun-2025-bn": { @@ -19,49 +17,42 @@ "description": "Große Sommerfreizeit in Bonn-Bad Godesberg mit Coding-Workshops, Spiel und Spaß", "location": "Bonn (Jugendzeltplatz)", "date": "2025-08-21", - "cost": 150, "fully_booked": false }, "froglabs-2025-glt": { "display_name": "Mini-FrogLabs Grazer Linux-Tage 2025", "description": "Workshopprogramm für Kinder und Jugendliche bei den Grazer Linux-Tagen 2025", "location": "Graz", - "date": "2025-04-26", - "cost": 40 + "date": "2025-04-26" }, "campdays-2024-12": { "display_name": "Campdays Winter 2024", "description": "Öffentlicher Nachmittag bei den Campdays, dem Aktiven-Barcamp der Teckids-Gemeinschaft", "location": "Linuxhotel, Essen", - "date": "2024-12-07", - "cost": 10 + "date": "2024-12-07" }, "campdays-2025-03": { "display_name": "Campdays Frühjahr 2025", "description": "Öffentlicher Nachmittag bei den Campdays, dem Aktiven-Barcamp der Teckids-Gemeinschaft", "location": "Nibelungenturm, Worms", - "date": "2025-03-08", - "cost": 10 + "date": "2025-03-08" }, "fdtoet-38c3-1": { "display_name": "Fairydust-Türöffner-Tag beim 38c3 (Tour 1, 11:00 Uhr)", "description": "Türen auf beim 38. Chaos Communication Congress mit Tour hinter die Kulissen des Events", "location": "CCH, Hamburg", - "date": "2024-12-28", - "cost": 0 + "date": "2024-12-28" }, "fdtoet-38c3-2": { "display_name": "Fairydust-Türöffner-Tag beim 38c3 (Tour 2, 15:00 Uhr)", "description": "Türen auf beim 38. Chaos Communication Congress mit Tour hinter die Kulissen des Events", "location": "CCH, Hamburg", - "date": "2024-12-28", - "cost": 0 + "date": "2024-12-28" }, "fdtoet-38c3-3": { "display_name": "Fairydust-Türöffner-Tag beim 38c3 (Tour 3, Tag 3, 11:00 Uhr)", "description": "Türen auf beim 38. Chaos Communication Congress mit Tour hinter die Kulissen des Events", "location": "CCH, Hamburg", - "date": "2024-12-29", - "cost": 0 + "date": "2024-12-29" } } diff --git a/templates/shortcodes/teckids_event.html b/templates/shortcodes/teckids_event.html index 3a8e22f..f350e2f 100644 --- a/templates/shortcodes/teckids_event.html +++ b/templates/shortcodes/teckids_event.html @@ -22,9 +22,9 @@ <time datetime="{{ event.date }}" property="startDate">{{ event.date | date }}</time> </div> <div class="column is-one-third"> - <h4 class="title">Preis?</h4> + <h4 class="title">Kosten?</h4> <i class="fa-regular fa-money-bill mr-3"></i> - {{ event.cost }} € + {{ trans(key="event_cost_self", lang=lang) }} </div> </div> </div> -- GitLab