Changes for page Industry meets ErUM-Data
Last modified by Benjamin Fischer on 2025/03/26 10:08
From version 28.8
edited by admin
on 2024/10/23 13:14
on 2024/10/23 13:14
Change comment:
There is no comment for this version
To version 44.2
edited by Benjamin Fischer
on 2025/03/26 10:05
on 2025/03/26 10:05
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - PeopleinErUM-Data1 +Industry meets ErUM-Data - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.fischer - Content
-
... ... @@ -1,27 +1,10 @@ 1 -(% class="box infomessage" %) 2 -((( 3 -With this collection we want to provide an overview of of various research groups and people in ErUM (data). 1 +{{box cssClass="floatinginfobox" title="**The list thrives on being filled.**"}} 2 +To be added (or removed) you can: 4 4 5 -The list thrives on being filled. If you want to be subscribed or unsubscribed from this list please contact [[judith.steinfeld@erumdatahub.de>>mailto:judith.steinfeld@erumdatahub.de]] 6 -))) 4 +* contact [[judith.steinfeld@erumdatahub.de>>mailto:judith.steinfeld@erumdatahub.de]] 5 +* add or update an entry yourself [[How-To (end of page)>>||anchor="howto"]] 6 +{{/box}} 7 7 8 -{{velocity}} 9 -#set ($columnsProperties = { 10 - 'affiliation': {"filterable":true, "sortable":true, "html":true}, 11 - 'URL': {"type": "hidden"}, 12 - "content": {"type": "hidden"}, 13 - "tags": {"sortable": false, "filterable": false, "html": true, "headerClass": "tagsCol"}, 14 - '_actions': {"actions":["view","edit"]} 15 -}) 16 -#set ($options = { 17 - 'className': 'Research Groups.Code.Research GroupsClass', 18 - 'translationPrefix': 'research groups.livetable.', 19 - 'tagCloud': true, 20 - 'rowCount': 15, 21 - 'maxPages': 10, 22 - 'selectedColumn': 'affiliation', 23 - 'defaultOrder': 'asc' 24 -}) 25 -#set ($columns = ['affiliation', 'URL', "content", "tags", "tags", "tags", '_actions']) 26 -#livetable('research groups' $columns $columnsProperties $options) 27 -{{/velocity}} 8 +This is a collection of various groups and projects in industry that are adjacent or in cooperation with ErUM-Data science. 9 + 10 +{{include reference="Research Groups.Nice Display.WebHome"}}
- People in ErUM v2.xlsx
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.JudithSteinfeld - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.5 KB - Content
- People in ErUM v2_7f9f8a04.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.JudithSteinfeld - Size
-
... ... @@ -1,1 +1,0 @@ 1 -115 bytes - Content
- People in ErUM v2_9a9d6ea5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.JudithSteinfeld - Size
-
... ... @@ -1,1 +1,0 @@ 1 -13.0 KB - Content
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -1,7 +1,5 @@ 1 -const tabName = "research 1 +const tabName = "research_groups"; 2 2 const tagCols = [ 3 - ["Community", "KAT", "KET", "KfB", "KFN", "KFS", "KFSI", "KHuK", "RDS", "beyond ErUM"], 4 - ["Experiment", "CMS", "ATLAS", "Belle2", "CTA", "Auger"], 5 5 ["Tags", true], 6 6 ] 7 7 ... ... @@ -46,10 +46,18 @@ 46 46 47 47 document.observe(`xwiki:livetable:${tabName}:receivedEntries`, ({memo: {data}}) => { 48 48 for (const row of data.rows) { 49 - row.affiliation = `<a href="${row.URL}">${ 50 - row.affiliation_value.split("\n").map((a, i) => i ? a : `<b class="wikiexternallink">${a}</b>`).join("<br/>") 51 - }</a>`; 47 + const a = new Element("a", { href: row.URL }); 48 + a.innerHTML = row.affiliation_value.split("\n").map((a, i) => i ? a : `<b class="wikiexternallink">${a}</b>`).join("<br/>"); 49 + a.title = row.doc_title; 50 + if (row.content !== "-") { 51 + a.dataset.content = row.content; 52 + a.dataset.toggle = "popover"; 53 + } 52 52 55 + row.affiliation = a.outerHTML; 56 + 57 + row.doc_date = row.doc_date.split(" ")[0].split("/").slice(0, 2).join("/"); 58 + 53 53 // tags 54 54 const tags = new Set(row.tags_value.slice(1, -1).split(", ")); 55 55 tagCols.forEach(([name, ...want], i) => ... ... @@ -62,5 +62,20 @@ 62 62 } 63 63 }); 64 64 71 +require(['jquery', 'bootstrap'], function($) { 72 + document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`) 65 65 74 + const ttApply = () => { 75 + $(`#${tabName} [data-toggle="popover"]`).popover({ 76 + html: true, 77 + container: `#mainContentArea`, 78 + trigger: "hover", 79 + }); 80 + }; 66 66 82 + document.observe(`xwiki:livetable:${tabName}:displayComplete`, ttApply); 83 + ttApply(); 84 +}); 85 + 86 + 87 +