Changes for page Material Collection
Last modified by Judith Steinfeld on 2025/06/03 11:13
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -22,7 +22,7 @@ 22 22 23 23 // column headers 24 24 mats.querySelectorAll(".xwiki-livetable-display-header .tagsCol").forEach( 25 - (v, i) => v.textContent = tagCols[i][0] 25 + (v, i) => v.firstElementChild.textContent = tagCols[i][0] 26 26 ); 27 27 28 28 // handle clicks for tags ... ... @@ -55,8 +55,6 @@ 55 55 const u = new URL(row.link_value); 56 56 let icon; 57 57 if (u.pathname.endsWith(".pdf")) icon = "file-pdf-o"; 58 - if (u.hostname.includes("github")) icon = "github"; 59 - if (u.hostname.includes("gitlab")) icon = "gitlab"; 60 60 if (icon) { 61 61 const s = a.ownerDocument.createElement("span"); 62 62 s.textContent = " ";