Changes for page Material Collection

Last modified by Judith Steinfeld on 2025/06/03 11:13

From version 63.1
edited by Judith Steinfeld
on 2024/11/14 16:34
Change comment: There is no comment for this version
To version 74.1
edited by Benjamin Fischer
on 2024/11/19 14:53
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,17 +1,15 @@
1 -{{box cssClass="floatinginfobox" title="== Further Material Collections ==
1 +== Learning and Teaching Materials for ErUM-Data-Scientists ==
2 2  
3 - "}}
3 +{{box cssClass="floatinginfobox" title="==== **Further Materials** ===="}}
4 +{{displayIcon name="world"/}}[[ Elixir TeSS Training Material>>https://tess.elixir-europe.org/]]
4 4  
6 +{{displayIcon name="world"/}} [[PaN TRaining Catalogue>>https://pan-training.eu/]]
5 5  
6 -{{displayIcon name="world"/}}
8 +{{displayIcon name="world"/}} [[FAIRmat Tutorials>>https://www.fairmat-nfdi.eu/events/fairmat-tutorial-2/tutorial-2-materials]]
7 7  
8 -**{{icon name="calendar"}}{{/icon}}[[Events >>https://indico.desy.de/category/1039/]]**
9 -
10 -**RepresentaDeputy: **Prof. Dr. Thomas Kuhr
10 +{{displayIcon name="world"/}} [[LHC Masterclasses (Netzwerk Teilchenwelt)>>https://www.teilchenwelt.de/angebote/neue-links-zu-materialien/]]
11 11  {{/box}}
12 12  
13 -== **Learning and Teaching Materials for ErUM-Data-Scientists** ==
14 -
15 15  {{info width="70%"}}
16 16  Are you an ErUM-Data-Scientist who wants to expand your digital skills or do you want to support (young/prospective) ErUM-Scientists in pursuing digital transformation?
17 17  
... ... @@ -21,6 +21,8 @@
21 21  
22 22  
23 23  If you want to be subscribed or unsubscribed from this list please contact [[judith.steinfeld@erumdatahub.de>>mailto:judith.steinfeld@erumdatahub.de]]
22 +
23 +
24 24  {{/info}}
25 25  
26 26  {{success width="70%"}}
XWiki.JavaScriptExtension[0]
Code
... ... @@ -48,7 +48,12 @@
48 48   const ol = new DOMParser().parseFromString(row.doc_location, "text/xml").documentElement;
49 49   const li = ol.children;
50 50  
51 - li[0].remove(); // remove "Event"
51 + switch (li[0].textContent) {
52 + case "MoccaCalendar":
53 + li[1].remove(); // the sub calendar
54 + case "Material collection":
55 + li[0].remove(); // the "app"
56 + }
52 52   for (let i = 1; i < li.length - 1; i++) // intermediate
53 53   li[i].textContent = li[i].textContent; // remove link
54 54