Changes for page Home

Last modified by Benjamin Fischer on 2025/06/04 14:20

From version 75.1
edited by Judith Steinfeld
on 2024/11/12 08:28
Change comment: There is no comment for this version
To version 73.23
edited by Benjamin Fischer
on 2024/11/08 14:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.JudithSteinfeld
1 +XWiki.fischer
Content
... ... @@ -1,10 +1,7 @@
1 1  {{box cssClass="floatinginfobox" image="https://wiki.test.erumdatahub.de/bin/download/Main/WebHome/logo_horizontal_23_neu.png?width=200"}}
2 2  {{displayIcon name="application_view_tile"/}} [[Indico>>https://indico.desy.de/category/984/]]
3 -{{displayIcon name="email"/}} [[Mailing Lists>>doc:DIG-UM.Mailing Lists.WebHome]]
3 +{{displayIcon name="email"/}} [[Mailing Lists>>https://wiki.erumdatahub.de/de/mailing-lists]]
4 4  {{displayIcon name="world"/}} [[Website>>https://erumdatahub.de/]]
5 -
6 -//{{icon name="info-circle"/}}//ErUM =** Er**forschung von** U**niversum & **M**aterie
7 -(Research on Universe and Matter)
8 8  {{/box}}
9 9  
10 10  Welcome to the new ErUM-Data-Hub Wiki - a place for all ErUM-Data communities, to interact and share information with one another.
XWiki.JavaScriptExtension[0]
Code
... ... @@ -157,8 +157,7 @@
157 157   maxTime: "23:00",
158 158   editable: false,
159 159   eventDataTransform: event => {
160 - const cal = event.url.split("/")[4];
161 - if (cal === "Holidays" || cal == "Blocked" || cal.includes("Conference")) event.rendering = "background";
160 + if (event.url.split("/")[4] === "Holidays") event.rendering = "background";
162 162   event.viewUrl = event.url;
163 163   event.url = event.html.match(/<span class="wikiexternallink"><a href="([^"]+)">\1</)?.[1] ?? event.url;
164 164   return event;