1
0
Fork 0
mirror of https://github.com/MatomoCamp/live-platform.git synced 2024-09-09 04:33:44 +02:00

MatomoCamp 2023 preparations

This commit is contained in:
Lukas Winkler 2023-11-02 21:29:56 +01:00
parent 3fee55100d
commit 8df0822921
Signed by: lukas
GPG key ID: 54DE4D798D244853
4 changed files with 55 additions and 6 deletions

View file

@ -14,8 +14,8 @@ from utils import translated_dict_to_string, time_plusminus15min
STREAM_FALLBACKS = False
primary_stream_host = "https://stream-mtmc.cloud-ed.fr/"
alternative_stream_hosts = {
"Alternative Stream 1": "https://livestream-mirror1.matomocamp.org/",
"Alternative Stream 2": "https://stream-mtmc-2021.cloud-ed.fr/",
# "Alternative Stream 1": "https://livestream-mirror1.matomocamp.org/",
# "Alternative Stream 2": "https://stream-mtmc-2021.cloud-ed.fr/",
}
alternative_stream_hosts_names = list(alternative_stream_hosts.keys())
alternative_stream_hosts_urls = list(alternative_stream_hosts.values())
@ -78,6 +78,8 @@ class Talk:
return "French"
elif self.language == "it":
return "Italian"
elif self.language == "fi":
return "Finnish"
else:
return "English"
@ -222,12 +224,14 @@ class Talk:
"de": "Do",
"fr": "Jeu",
"it": "Gio",
"fi": "To"
},
5: {
"en": "Fri",
"de": "Fr",
"fr": "Ven",
"it": "Ven",
"fi": "Pe"
}
}
print(self.start, self.end)

View file

@ -371,6 +371,8 @@
Rejoindre
{% elif talk.language=="en" %}
Join
{% elif talk.language=="fi" %}
Liittyä
{% endif %}
</div>
</a>

View file

@ -171,10 +171,10 @@
or <a href="?alternative_stream=1">Alternative Stream 1</a>.
{% endif %}
{% else %}
<a class="btn btn-sm btn-primary"
href="?alternative_stream={{ talk.random_alternative_stream_id }}">
use alternative Stream
</a>
{# <a class="btn btn-sm btn-primary"#}
{# href="?alternative_stream={{ talk.random_alternative_stream_id }}">#}
{# use alternative Stream#}
{# </a>#}
{% endif %}
</div>
<div>

43
urls.py
View file

@ -74,6 +74,49 @@ chat_rooms = {
"E893JM": "web-analytics-book",
"WXXXXE": "migrating-matomo",
"ST38HK": "closing-event-2022",
#2023
"NQLKF8": "event-introduction-2023",
"38BMH9": "data-privacy-framework",
"WCKGVN": "privacy-et-consentement",
"UPVEX9": "ghost-cms",
"3C8Q7N": "analysez-vos-donnees",
"MR7XAA": "surveys-plugin",
"ZQYENT": "tips-and-tricks-for-marketers",
# "ALJTKA": "Comment gérer 1000 sites, des dizaines de serveurs Matomo et +100 utilisateurs à travers une seule plateforme ?",
"NBXLRD": "forms-use-cases",
"9SWQLW": "raw-data-to-tableau",
"TFFTV3": "advanced-dashboarding",
"PWSJSQ": "plugin-best-practices",
"JX37F9": "ai-act",
"AMSSFM": "mastering-troubleshooting",
"8SGMFE": "supervision-dusage-de-site",
"MPC7TK": "tag-manager-best-practices",
"CBLEVN": "retrieving-api-data-using-ai",
"3ZYJKG": "les-solutions-analytiques-pour-les-entreprises-francaises",
"C7FZYR": "advanced-data-visualization-with-apache-superset",
"S8VPGQ": "interactive-online-events-with-workadventure",
"7C7LKL": "b2b-markkinointiapua",
"NZZNJN": "matomo-servers-management",
"RTBNWR": "matomo-unleashed",
"GUNNPK": "erste-schritte",
"CWQPAA": "e-commerce-tracking",
"3XRSQM": "insights-fur-optimierung",
"ZCJUUS": "new-zealands-digital-analytics-landscape",
"MME8MC": "privacy-through-clean-insights",
"T9E8EG": "creating-a-theme",
"7AJ39H": "plugin-development-competition",
"ZDHAQF": "website-conversions-for-smaller-manufacturers",
"RJAS9R": "measure-your-users-weather",
"8Z3ZUJ": "virtual-pageviews",
"B9SPEP": "bigquery-and-looker",
"RTLKVY": "matomo-on-sharepoint",
"G8NL87": "kampagnen-tracking",
"9F9DFT": "optimizing-intranet-success",
"RJSXCB": "closing-event-2023",
}
archive_names = {