Changes for page Industry meets ErUM-Data

Last modified by Benjamin Fischer on 2025/03/26 10:08

From version 28.12
edited by admin
on 2024/10/23 13:58
Change comment: There is no comment for this version
To version 44.2
edited by Benjamin Fischer
on 2025/03/26 10:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -People in ErUM-Data
1 +Industry meets ErUM-Data
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +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 groups";
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  
... ... @@ -48,16 +48,16 @@
48 48   for (const row of data.rows) {
49 49   const a = new Element("a", { href: row.URL });
50 50   a.innerHTML = row.affiliation_value.split("\n").map((a, i) => i ? a : `<b class="wikiexternallink">${a}</b>`).join("<br/>");
51 - if (row.content) {
52 - a.title = row.content;
53 - a.dataset.toggle = "tooltip";
54 - //a.dataset.placement="left";
55 - //a.dataset.html="true";
49 + a.title = row.doc_title;
50 + if (row.content !== "-") {
51 + a.dataset.content = row.content;
52 + a.dataset.toggle = "popover";
56 56   }
57 57  
58 58   row.affiliation = a.outerHTML;
59 - delete a;
60 60  
57 + row.doc_date = row.doc_date.split(" ")[0].split("/").slice(0, 2).join("/");
58 +
61 61   // tags
62 62   const tags = new Set(row.tags_value.slice(1, -1).split(", "));
63 63   tagCols.forEach(([name, ...want], i) =>
... ... @@ -71,8 +71,14 @@
71 71  });
72 72  
73 73  require(['jquery', 'bootstrap'], function($) {
72 + document.styleSheets[0].insertRule(`#mainContentArea .popover {max-width: 50%;}`)
73 +
74 74   const ttApply = () => {
75 - $(`[id='${tabName}'] [data-toggle="tooltip"]`).tooltip({ html: true, placement: "right" });
75 + $(`#${tabName} [data-toggle="popover"]`).popover({
76 + html: true,
77 + container: `#mainContentArea`,
78 + trigger: "hover",
79 + });
76 76   };
77 77  
78 78   document.observe(`xwiki:livetable:${tabName}:displayComplete`, ttApply);