Changes for page Industry meets ErUM-Data
Last modified by Benjamin Fischer on 2025/03/26 10:08
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,5 +23,5 @@ 23 23 'defaultOrder': 'asc' 24 24 }) 25 25 #set ($columns = ['affiliation', 'URL', "content", "tags", "tags", "tags", '_actions']) 26 -#livetable('research _groups' $columns $columnsProperties $options)26 +#livetable('research groups' $columns $columnsProperties $options) 27 27 {{/velocity}}
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,4 +1,4 @@ 1 -const tabName = "research _groups";1 +const tabName = "research groups"; 2 2 const tagCols = [ 3 3 ["Community", "KAT", "KET", "KfB", "KFN", "KFS", "KFSI", "KHuK", "RDS", "beyond ErUM"], 4 4 ["Experiment", "CMS", "ATLAS", "Belle2", "CTA", "Auger"], ... ... @@ -51,7 +51,7 @@ 51 51 a.title = row.doc_title; 52 52 if (row.content !== "-") { 53 53 a.dataset.content = row.content; 54 - a.dataset.toggle = "popover"; 54 + a.dataset.toggle = "popover"; //"tooltip"; 55 55 } 56 56 57 57 row.affiliation = a.outerHTML; ... ... @@ -70,14 +70,12 @@ 70 70 }); 71 71 72 72 require(['jquery', 'bootstrap'], function($) { 73 - document.styleSheets[0].insertRule(`#${tabName} .popover {max-width: 50%;}`) 74 - 75 75 const ttApply = () => { 76 - $(` #${tabName} [data-toggle="popover"]`).popover({74 + $(`[id='${tabName}'] [data-toggle="popover"]`).popover({ 77 77 html: true, 78 - container: `#${tabName}`,76 + container: "body", 79 79 trigger: "hover", 80 - }); 78 + }) // tooltip({ html: true, placement: "right" }); 81 81 }; 82 82 83 83 document.observe(`xwiki:livetable:${tabName}:displayComplete`, ttApply);