Changes for page Nice Display
Last modified by Benjamin Fischer on 2025/05/15 17:09
From version 45.29
edited by Benjamin Fischer
on 2025/03/26 13:16
on 2025/03/26 13:16
Change comment:
There is no comment for this version
To version 45.32
edited by Benjamin Fischer
on 2025/05/15 17:08
on 2025/05/15 17:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -13,6 +13,7 @@ 13 13 "content": {"type": "hidden"}, 14 14 "coopDetails": {"type": "hidden"}, 15 15 "coop": {"html": true}, 16 + "Community": {"tooltip": "KAT - Astroparticle Physics<br/>KET - Elementary Particles Physics<br/>KfB - Accelerator Physics<br/>KFN - Research with neutrons<br/>KFN - Research with synchrotron radiation<br/>KFSI - Research with nuclear probes and ion beams<br/>KHuK - Hadron and nuclear physics<br/>RDS - German Observatory Council"}, 16 16 "tags": {"sortable": false, "filterable": false, "html": true, "headerClass": "tagsCol", "aux": $ntrg_tagCols}, 17 17 "doc.date": {"filterable": false, "displayName": "Last Updated"}, 18 18 '_actions': {"actions":["view","edit"]}
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -11,7 +11,7 @@ 11 11 "KFSI - Research with nuclear probes and ion beams", 12 12 "KHuK - Hadron and nuclear physics", 13 13 "RDS - German Observatory Council" 14 - ].join(" \n"),14 + ].join("<br/>"), 15 15 "Cooperation": "...", 16 16 }; 17 17 let tagCols; ... ... @@ -43,9 +43,10 @@ 43 43 // column tooltips 44 44 mats.querySelectorAll(".xwiki-livetable-display-header-text").forEach( 45 45 el => { 46 - const c = colTT[el.textContent] 46 + const t = el.textContent.trim(); 47 + const c = colTT[t] 47 47 if (c) { 48 - el.title = el.textContent;49 + el.title = t; 49 49 el.dataset.content = c; 50 50 el.dataset.toggle = "popover"; 51 51 el.dataset.placement = "top";