From 22c97c3155cbd64a5884f876e0828e8d11fe07d7 Mon Sep 17 00:00:00 2001 From: s3lph Date: Fri, 6 Jan 2023 01:00:23 +0100 Subject: [PATCH] website as separate column --- config.yml | 20 ++++++++++---------- l10n/de.yml | 3 +-- l10n/en.yml | 2 +- l10n/fr.yml | 3 +-- l10n/it.yml | 3 +-- src/index.html | 2 ++ 6 files changed, 16 insertions(+), 17 deletions(-) diff --git a/config.yml b/config.yml index 984afd9..3873eab 100644 --- a/config.yml +++ b/config.yml @@ -24,8 +24,8 @@ jinja_environment: fr: 'Mardi à partir de 19:30' it: 'Martedì da 19:30' en: 'Every Tuesday from 19:30' + web: 'https://ccc-basel.ch/' contact: - web: 'https://ccc-basel.ch/' ml: 'https://lists.chaostreff.ch/postorius/lists/basel.chaostreff.ch/' matrix: 'https://mto.kabelsalat.ch/#/#basel:kabelsalat.ch' spaceapi: '/https/spaceapi.kabelsalat.ch/' @@ -39,8 +39,8 @@ jinja_environment: fr: 'Mercredi à partir de 19:00' it: 'Mercoledì da 19:00' en: 'Every Wednesday from 19:00' + web: 'https://ccczh.ch/' contact: - web: 'https://ccczh.ch/' ml: 'https://lists.chaostreff.ch/postorius/lists/zuerich.chaostreff.ch/' ml: 'https://lists.chaostreff.ch/postorius/lists/bitwaescherei.chaostreff.ch/' spaceapi: '/https/www.ccczh.ch/api/v13/' @@ -54,8 +54,8 @@ jinja_environment: fr: 'Mardi à partir de 19:00' it: 'Martedì da 19:00' en: 'Every Tuesday from 19:00' + web: 'https://chaostreffbern.ch/' contact: - web: 'https://chaostreffbern.ch/' ml: 'https://lists.chaostreff.ch/postorius/lists/bern.chaostreff.ch/' email: 'info(ät)chaostreffbern(punkt)ch' spaceapi: '/https/www.chaosbern.ch/spaceapi.json' @@ -69,8 +69,8 @@ jinja_environment: fr: 'Lundi à partir de 20:00' it: 'Lunedì da 20:00' en: 'Every Monday from 20:00' - contact: - web: 'https://coredump.ch/' + web: 'https://coredump.ch/' + contact: {} spaceapi: '/https/status.crdmp.ch/' - name: 'Eastermundingen' @@ -82,8 +82,8 @@ jinja_environment: fr: 'Mercredi à partir de 18:00' it: 'Mercoledì da 18:00' en: 'Every Wednesday from 18:00' + web: 'https://www.eastermundigen.ch/' contact: - web: 'https://www.eastermundigen.ch/' ml: 'https://lists.chaostreff.ch/postorius/lists/bern.chaostreff.ch/' - name: 'ODENWILUSENZ' @@ -95,8 +95,8 @@ jinja_environment: fr: 'Mercredi à partir de 19:00' it: 'Mercoledì da 19:00' en: 'Every Wednesday from 19:00' - contact: - web: 'https://odenwilusenz.ch/' + web: 'https://odenwilusenz.ch/' + contact: {} - name: 'Ruum42' address: 'Andreasstrasse 5, 9000 St. Gallen' @@ -107,5 +107,5 @@ jinja_environment: fr: 'Mardi à partir de 18:30' it: 'Martedì da 18:30' en: 'Every Tuesday from 18:30' - contact: - web: 'https://ruum42.ch/' + web: 'https://ruum42.ch/' + contact: {} diff --git a/l10n/de.yml b/l10n/de.yml index 2cc0d48..29675db 100644 --- a/l10n/de.yml +++ b/l10n/de.yml @@ -11,14 +11,13 @@ legend_marker_green: "Aktuell für Besucher geöffnet" legend_marker_red: "Aktuell für Besucher geschlossen" legend_marker_blue: "Keine Information vorhanden" - th_name: "Name" th_address: "Adresse" th_hours: "Öffnungszeiten" +th_web: "Webseite" th_contact: "Kontakt" contacts: - web: Web tel: Telefon email: E-Mail ml: Mailingliste diff --git a/l10n/en.yml b/l10n/en.yml index 788d942..9e1449c 100644 --- a/l10n/en.yml +++ b/l10n/en.yml @@ -14,10 +14,10 @@ legend_marker_blue: "No information available" th_name: "Name" th_address: "Address" th_hours: "Opening Hours" +th_web: "Website" th_contact: "Contact" contacts: - web: Web tel: Phone email: E-mail ml: Mailing list diff --git a/l10n/fr.yml b/l10n/fr.yml index 5deb060..5a0fa03 100644 --- a/l10n/fr.yml +++ b/l10n/fr.yml @@ -11,14 +11,13 @@ legend_marker_green: "Ouvert maintenant pour les visiteurs" legend_marker_red: "Fermé maintenant pour les visiteurs" legend_marker_blue: "Pas de information" - th_name: "Nom" th_address: "Adresse" th_hours: "Heures d'ouverture" +th_web: "Site web" th_contact: "Contact" contacts: - web: Web tel: Téléphone mail: E-mail ml: Liste de Diffusion diff --git a/l10n/it.yml b/l10n/it.yml index 6769156..cb53a78 100644 --- a/l10n/it.yml +++ b/l10n/it.yml @@ -13,14 +13,13 @@ legend_marker_green: "Ora aperto per i visitatori" legend_marker_red: "Ora chiuso per i visitatori" legend_marker_blue: "Nessuna informazione" - th_name: "Nome" th_address: "Indirizzo" th_hours: "Orario" +th_web: "Sito web" th_contact: "Contatto" contacts: - web: Web tel: Telefono email: E-mail ml: Mailing list diff --git a/src/index.html b/src/index.html index 1bb6422..79b5fe6 100644 --- a/src/index.html +++ b/src/index.html @@ -74,6 +74,7 @@ {{ th_name }} {{ th_address }} {{ th_hours }} + {{ th_web }} {{ th_contact }} @@ -83,6 +84,7 @@ {{ space.name }}
{{ space.address }}
{{ space.open[lang] }} + {{ space.web }} {% for key, url in space.contact.items() %} {{ contacts[key] }}