Changes for page Nice Display

Last modified by Benjamin Fischer on 2025/03/26 13:19

From version 45.10
edited by Benjamin Fischer
on 2025/03/26 10:32
Change comment: There is no comment for this version
To version 44.9
edited by Benjamin Fischer
on 2025/03/25 17:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,14 +1,15 @@
1 +{{box cssClass="floatinginfobox" title="**The list thrives on being filled.**"}}
2 +To be added (or removed) you can:
3 +
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 +
8 +This is a collection of various groups in industry that are adjacent or in cooperation with ErUM-Data science.
9 +
1 1  {{locationSearch width="100%;clear:both;" className="Research Groups.Code.Research GroupsClass" description="Search, including in excerpts."/}}
2 2  
3 3  {{velocity}}
4 -#if ( $ntrg_tagCols == $null )
5 -#set( $ntrg_tagCols = [["Tags", true]] )
6 -#end
7 -#if ( $ntrg_tabName == $null )
8 -#set( $ntrg_tabName = "research_groups" )
9 -#end
10 -#set ($discard = $xwiki.jsx.use('Research Groups.Nice Display.WebHome'))
11 -
12 12  #set ($columnsProperties = {
13 13   'affiliation': {"filterable":true, "sortable":true, "html":true},
14 14   'URL': {"type": "hidden"},
... ... @@ -21,7 +21,7 @@
21 21  #set ($options = {
22 22   'className': 'Research Groups.Code.Research GroupsClass',
23 23   'translationPrefix': 'research groups.livetable.',
24 - 'extraParams': "&location=${escapetool.url($doc.getSpace())}",
25 + 'extraParams': '&location=Industry%20meets%20ErUM-Data',
25 25   'tagCloud': true,
26 26   'rowCount': 25,
27 27   'maxPages': 10,
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,6 +1,8 @@
1 1  /*!
2 +#set( $ntrg_tabCols = [["Tags", true]] )
3 +#set( $ntrg_tabName = "research_groups" )
2 2  #[[*/
3 -((tagCols = [["Tags", true]], tabName = "research_groups") => {
5 +((tabCols = [["Tags", true]], tabName = "research_groups") => {
4 4  
5 5   document.observe('xwiki:livetable:loading', () => {
6 6   const mats = document.getElementById(tabName);
... ... @@ -83,4 +83,4 @@
83 83   ttApply();
84 84   });
85 85  /* ]]# */
86 -})($jsontool.serialize($ntrg_tagCols), $jsontool.serialize($ntrg_tabName));
88 +})($jsontool.serialize($ntrg_tabCols), $jsontool.serialize($ntrg_tabName));
Use this extension
... ... @@ -1,1 +1,1 @@
1 -onDemand
1 +currentPage