Changes for page Material Collection
Last modified by Judith Steinfeld on 2025/06/03 11:13
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,5 +1,5 @@ 1 1 const tagCols = [ 2 - //["Tag1", "CERN", "CHEP", "GPU", "VISPA"],2 + ["Tag1", "CERN", "CHEP", "GPU", "VISPA"], 3 3 ["Tags", true], 4 4 ] 5 5 ... ... @@ -54,9 +54,6 @@ 54 54 const a = li[li.length - 1].children[0]; 55 55 const u = new URL(row.link_value); 56 56 let icon; 57 - if (u.hostname.includes("github")) icon = "github"; 58 - if (u.hostname.includes("gitlab")) icon = "gitlab"; 59 - if (u.hostname.includes("google")) icon = "google"; 60 60 if (u.pathname.endsWith(".pdf")) icon = "file-pdf-o"; 61 61 if (icon) { 62 62 const s = a.ownerDocument.createElement("span");