From e20493506e102e8704949801dda56d350bf8f387 Mon Sep 17 00:00:00 2001
From: Raoul
Date: Sat, 27 Apr 2019 20:49:16 +0200
Subject: [PATCH] Registration link in sidebar
---
data/cosin.toml | 6 +++---
.../cosin-theme/layouts/partials/site-sidebar.de.html | 11 +++++------
.../cosin-theme/layouts/partials/site-sidebar.en.html | 11 +++++------
.../cosin-theme/layouts/partials/site-sidebar.fr.html | 11 +++++------
.../cosin-theme/layouts/partials/site-sidebar.it.html | 11 +++++------
5 files changed, 23 insertions(+), 27 deletions(-)
diff --git a/data/cosin.toml b/data/cosin.toml
index fdedd41..944fde2 100644
--- a/data/cosin.toml
+++ b/data/cosin.toml
@@ -24,10 +24,10 @@ location_url = "http://www.villa-ritter.ch/"
location_city = "Biel"
-registration_open = false
+registration_open = true
registration_email = "mampf2019@cosin.ch"
-entrance_fee = "CHF 20"
-food_fee = "CHF 6"
+registration_url = "https://pretix.ccczh.ch/cosin/cosin2019/"
+entrance_fee = "CHF 30"
flyer_available = true
diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.de.html b/themes/cosin-theme/layouts/partials/site-sidebar.de.html
index 4765a7f..80ddab1 100644
--- a/themes/cosin-theme/layouts/partials/site-sidebar.de.html
+++ b/themes/cosin-theme/layouts/partials/site-sidebar.de.html
@@ -14,11 +14,7 @@
{{ end }}
{{ if .location_known }}
- Ort: {{ i18n .location_name }} in {{ i18n .location_city }}
- {{ end }}
-
- {{ if .registration_open }}
- Eintritt: {{ .entrance_fee }}
+ Ort: {{ i18n .location_name }} in {{ i18n .location_city }}
{{ end }}
@@ -29,7 +25,10 @@
{{ if .registration_open }}
-Anmeldung: {{ .registration_email }} (nur für Essen)
+
+ Anmeldung: Tickets
+ Eintritt: {{ .entrance_fee }}
+
{{ end }}
diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.en.html b/themes/cosin-theme/layouts/partials/site-sidebar.en.html
index dbdc6da..abf6869 100644
--- a/themes/cosin-theme/layouts/partials/site-sidebar.en.html
+++ b/themes/cosin-theme/layouts/partials/site-sidebar.en.html
@@ -14,11 +14,7 @@
{{ end }}
{{ if .location_known }}
- Location: {{ i18n .location_name }} in {{ i18n .location_city }}
- {{ end }}
-
- {{ if .registration_open }}
- Admission: {{ .entrance_fee }}
+ Location: {{ i18n .location_name }} in {{ i18n .location_city }}
{{ end }}
@@ -29,7 +25,10 @@
{{ if .registration_open }}
-Registration for meals: {{ .registration_email }}
+
+ Registration: Tickets
+ Admission: {{ .entrance_fee }}
+
{{ end }}
diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.fr.html b/themes/cosin-theme/layouts/partials/site-sidebar.fr.html
index 633052e..339cdcf 100644
--- a/themes/cosin-theme/layouts/partials/site-sidebar.fr.html
+++ b/themes/cosin-theme/layouts/partials/site-sidebar.fr.html
@@ -14,11 +14,7 @@
{{ end }}
{{ if .location_known }}
- Lieu: {{ i18n .location_name }} à {{ i18n .location_city }}
- {{ end }}
-
- {{ if .registration_open }}
- Entrée: {{ .entrance_fee }}
+ Lieu: {{ i18n .location_name }} à {{ i18n .location_city }}
{{ end }}
@@ -29,7 +25,10 @@
{{ if .registration_open }}
-Inscription: {{ .registration_email }} (inscription aux repas)
+
+ Inscription: Tickets
+ Entrée: {{ .entrance_fee }}
+
{{ end }}
diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.it.html b/themes/cosin-theme/layouts/partials/site-sidebar.it.html
index a8d2304..8edfb05 100644
--- a/themes/cosin-theme/layouts/partials/site-sidebar.it.html
+++ b/themes/cosin-theme/layouts/partials/site-sidebar.it.html
@@ -14,11 +14,7 @@
{{ end }}
{{ if .location_known }}
- Luogo: {{ i18n .location_name }} a {{ i18n .location_city }}
- {{ end }}
-
- {{ if .registration_open }}
- Costo: {{ .entrance_fee }}
+ Luogo: {{ i18n .location_name }} a {{ i18n .location_city }}
{{ end }}
@@ -29,7 +25,10 @@
{{ if .registration_open }}
-Registrazione: {{ .registration_email }} (per i pasti)
+
+ Registrazione: Tickets
+ Costo: {{ .entrance_fee }}
+
{{ end }}