From 3809e9a5c8c16d4836146979f462731c88a6a671 Mon Sep 17 00:00:00 2001 From: Raoul Date: Tue, 29 May 2018 01:38:46 +0200 Subject: [PATCH] Add cfp deadline to website --- content/cfp.de.md | 3 +++ content/cfp.en.md | 3 +++ content/cfp.fr.md | 3 +++ content/cfp.it.md | 3 +++ data/cosin.toml | 4 ++++ i18n/de.toml | 14 +++++++++----- i18n/en.toml | 14 +++++++++----- i18n/fr.toml | 14 +++++++++----- i18n/it.toml | 14 +++++++++----- .../layouts/partials/site-sidebar.de.html | 4 +++- .../layouts/partials/site-sidebar.en.html | 4 +++- .../layouts/partials/site-sidebar.fr.html | 4 +++- .../layouts/partials/site-sidebar.it.html | 4 +++- 13 files changed, 64 insertions(+), 24 deletions(-) diff --git a/content/cfp.de.md b/content/cfp.de.md index d214d91..2c4c19b 100644 --- a/content/cfp.de.md +++ b/content/cfp.de.md @@ -51,6 +51,9 @@ Zur Organisation von Beiträgen verwenden wir das Frab-Event-Organisationssystem des CCC. Deinen Beitrag kannst Du über [unsere Frab-Seite]({{< cosin "cfp_url" >}}) einreichen. +Einreicheschluss ist am **{{}}, +{{< cosin "cfp_end_date_day" >}}. {{< cosin_i18n "cfp_end_date_month" >}} {{< cosin "date_year" >}}.** + ## Wuah: Ich habe noch Fragen! Kein Problem: Melde Dich unter [{{< cosin "orga_email" >}}](mailto:{{< cosin "orga_email" >}}). diff --git a/content/cfp.en.md b/content/cfp.en.md index 921a1a5..b698ef7 100644 --- a/content/cfp.en.md +++ b/content/cfp.en.md @@ -46,6 +46,9 @@ discussions, have a drink and just have fun. For organizing contributions we use the Frab event organization system from the CCC. You can submit your entry at [our Frab page]({{< cosin "cfp_url" >}}). +The deadline is **{{}}, +{{< cosin_humanize "cfp_end_date_day" >}} {{< cosin_i18n "cfp_end_date_month" >}} {{< cosin "date_year" >}}.** + ## Whoa! I still have questions! No problem: Just write to [{{< cosin "orga_email" >}}](mailto:{{< cosin "orga_email" >}}). diff --git a/content/cfp.fr.md b/content/cfp.fr.md index 65a6613..00c4ab6 100644 --- a/content/cfp.fr.md +++ b/content/cfp.fr.md @@ -49,6 +49,9 @@ Pour l’organisation du congrès, nous employons le frab - conference management system du CCC. Tu peux créer un compte et soumettre tes idées à l’adresse suivante: [Frab]({{< cosin "cfp_url" >}}). +Einreicheschluss ist am **{{}}, +{{< cosin "cfp_end_date_day" >}}. {{< cosin_i18n "cfp_end_date_month" >}} {{< cosin "date_year" >}}.** + ## Wouah: J’ai encore des questions! Pas de problème: Adresse-toi auprès de diff --git a/content/cfp.it.md b/content/cfp.it.md index f78b8da..a82a60e 100644 --- a/content/cfp.it.md +++ b/content/cfp.it.md @@ -46,6 +46,9 @@ Per l'organizzazione usiamo la nostra istanza svizzera del sistema di organizzaz per eventi del CCC (Frab). Chiediamo dunque gentilmente di registrare il tuo contributo [sul nostro Frab]({{< cosin "cfp_url" >}}). +Einreicheschluss ist am **{{}}, +{{< cosin "cfp_end_date_day" >}}. {{< cosin_i18n "cfp_end_date_month" >}} {{< cosin "date_year" >}}.** + ## Eh ma... non avete risposto alla mia domanda! Nessun problema: Scrivici a [{{< cosin "orga_email" >}}](mailto:{{< cosin "orga_email" >}}). diff --git a/data/cosin.toml b/data/cosin.toml index 519de08..2ccbbe4 100644 --- a/data/cosin.toml +++ b/data/cosin.toml @@ -37,6 +37,10 @@ flyer_path = "flyer_cosin2018.pdf" cfp_running = true cfp_url = "https://frab.ccczh.ch/en/cosin/cfp/session/new" +cfp_end_date_weekday = "Donnerstag" +cfp_end_date_day = 31 +cfp_end_date_month = "Mai" + schedule_available = false schedule_main_url = "https://www.cosin.ch/fahrplan/2017/index.html" diff --git a/i18n/de.toml b/i18n/de.toml index 4486fe4..e300f50 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -1,13 +1,17 @@ -[Juni] -other = "Juni" -[Juli] -other = "Juli" - +[Donnerstag] +other = "Donnerstag" [Freitag] other = "Freitag" [Sonntag] other = "Sonntag" +[Mai] +other = "Mai" +[Juni] +other = "Juni" +[Juli] +other = "Juli" + [Biel] other = "Biel" diff --git a/i18n/en.toml b/i18n/en.toml index ab165b7..53bb05a 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,13 +1,17 @@ -[Juni] -other = "June" -[Juli] -other = "July" - +[Donnerstag] +other = "Thursday" [Freitag] other = "Friday" [Sonntag] other = "Sunday" +[Mai] +other = "May" +[Juni] +other = "June" +[Juli] +other = "July" + [Biel] other = "Biel" diff --git a/i18n/fr.toml b/i18n/fr.toml index 220a4b2..0708b32 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -1,13 +1,17 @@ -[Juni] -other = "june" -[Juli] -other = "juillet" - +[Donnerstag] +other = "jeudi" [Freitag] other = "vendredi" [Sonntag] other = "dimanche" +[Mai] +other = "mai" +[Juni] +other = "june" +[Juli] +other = "juillet" + [Biel] other = "Bienne" diff --git a/i18n/it.toml b/i18n/it.toml index 928ef41..d393822 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -1,13 +1,17 @@ -[Juni] -other = "june" -[Juli] -other = "luglio" - +[Donnerstag] +other = "giovedì" [Freitag] other = "venerdì" [Sonntag] other = "domenica" +[Mai] +other = "maggio" +[Juni] +other = "june" +[Juli] +other = "luglio" + [Biel] other = "Bienna" diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.de.html b/themes/cosin-theme/layouts/partials/site-sidebar.de.html index 00806c7..4765a7f 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.de.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.de.html @@ -34,7 +34,9 @@ {{ if .cfp_running }} -

Call for Participation: Frab

+

Call for Participation: Frab
+Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year }}.
+

{{ end }} diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.en.html b/themes/cosin-theme/layouts/partials/site-sidebar.en.html index bb2e83e..7c5b689 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.en.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.en.html @@ -34,7 +34,9 @@ {{ if .cfp_running }} -

Call for Participation: Frab

+

Call for Participation: Frab
+Open until {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year }}.
+

{{ end }} diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.fr.html b/themes/cosin-theme/layouts/partials/site-sidebar.fr.html index 187ff66..633052e 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.fr.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.fr.html @@ -34,7 +34,9 @@ {{ if .cfp_running }} -

Call for Participation: Frab

+

Call for Participation: Frab
+Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year }}.
+

{{ end }} diff --git a/themes/cosin-theme/layouts/partials/site-sidebar.it.html b/themes/cosin-theme/layouts/partials/site-sidebar.it.html index 09e2bf1..a8d2304 100644 --- a/themes/cosin-theme/layouts/partials/site-sidebar.it.html +++ b/themes/cosin-theme/layouts/partials/site-sidebar.it.html @@ -34,7 +34,9 @@ {{ if .cfp_running }} -

Call for Participation: Frab

+

Call for Participation: Frab
+Offen bis {{ .cfp_end_date_day }}. {{ i18n .cfp_end_date_month }} {{ .date_year }}.
+

{{ end }}