Skip to content

Commit 69136de

Browse files
authored
Merge pull request #164 from cryptomator/feature/enhance-webinar-integration
Handle no webinar scheduled state
2 parents 9a5e036 + 2788f54 commit 69136de

4 files changed

Lines changed: 179 additions & 132 deletions

File tree

assets/js/webinar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class Webinar {
55
constructor(webinarId, lang, languageNames, data) {
66
$.getJSON(`${API_BASE_URL}/connect/contact/webinar/${webinarId}`).done(d => {
77
data.name = d.name;
8+
data.status = d.status;
89
data.language = languageNames[d.language];
910
data.dateStart = d.dateStart.replace(' ', 'T') + 'Z';
1011
data.lead = d.metadata.lead[lang];

i18n/de.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,12 @@
13671367
translation: "Deutsch"
13681368
- id: webinar_accept_privacy
13691369
translation: "Ich akzeptiere die <a class=\"text-link\" href=\"/de/privacy/\">Datenschutzerklärung</a>."
1370+
- id: webinar_none_title
1371+
translation: "Aktuell ist kein Webinar geplant"
1372+
- id: webinar_none_lead
1373+
translation: "Derzeit ist kein Webinar geplant, aber wir kündigen regelmäßig neue Termine an."
1374+
- id: webinar_none_newsletter_instruction
1375+
translation: "Abonniere unseren Hub-Newsletter und wir informieren dich, sobald das nächste Webinar feststeht."
13701376

13711377
# Sale
13721378
- id: sale_off

i18n/en.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,12 @@
14061406
translation: "German"
14071407
- id: webinar_accept_privacy
14081408
translation: "I accept the <a class=\"text-link\" href=\"/privacy/\" target=\"_blank\">Privacy Policy</a>."
1409+
- id: webinar_none_title
1410+
translation: "No Webinar Scheduled Right Now"
1411+
- id: webinar_none_lead
1412+
translation: "There's no webinar planned at the moment, but we announce new sessions regularly."
1413+
- id: webinar_none_newsletter_instruction
1414+
translation: "Subscribe to our Hub mailing list and we'll let you know as soon as the next webinar is scheduled."
14091415

14101416
# Sale
14111417
- id: sale_off

0 commit comments

Comments
 (0)