Changes for page Material Collection

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

From version 55.9
edited by admin
on 2024/10/23 14:57
Change comment: There is no comment for this version
To version 55.13
edited by Benjamin Fischer
on 2024/10/28 13:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.fischer
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,6 +1,6 @@
1 1  const tabName = "materials";
2 2  const tagCols = [
3 - ["Type", "lecture", "exercise", "hands-on", "solution", "tutorial"],
3 + ["Type", "lecture", "exercise", "hands-on", "solution", "tutorial", "talk", "course", "video"],
4 4   ["Tags", true],
5 5  ]
6 6  
... ... @@ -67,7 +67,7 @@
67 67   const s = a.ownerDocument.createElement("span");
68 68   s.textContent = " ";
69 69   s.setAttribute("class", `fa fa-${icon}`);
70 - s.setAttribute("style", "padding-right: .3em;");
70 + s.setAttribute("style", "padding-right: .3em;word-wrap: nowrap;");
71 71   a.insertBefore(s, a.firstChild);
72 72   }
73 73   a.setAttribute("class", "wikiexternallink");