Changes for page Nice Display

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

From version 45.24
edited by Benjamin Fischer
on 2025/03/26 12:32
Change comment: There is no comment for this version
To version 45.19
edited by Benjamin Fischer
on 2025/03/26 11:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,15 +4,13 @@
4 4  #if ( $ntrg_tagCols == $null )
5 5  #set( $ntrg_tagCols = [["Tags", true]] )
6 6  #end
7 -#set ($shouldMinify = !$hasProgramming )
8 -#set ($discard = $xwiki.jsx.use('Research Groups.Nice Display.WebHome', {"minify": $shouldMinify}))
7 +#set ($discard = $xwiki.jsx.use('Research Groups.Nice Display.WebHome'))
9 9  
10 10  #set ($columnsProperties = {
11 11   'affiliation': {"filterable":true, "sortable":true, "html":true},
12 12   'URL': {"type": "hidden"},
13 13   "content": {"type": "hidden"},
14 - "coopDetails": {"type": "hidden"},
15 - "coop": {"html": true},
13 + "coop": {},
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"]}
... ... @@ -27,7 +27,7 @@
27 27   'selectedColumn': 'doc.date',
28 28   'defaultOrder': 'desc'
29 29  })
30 -#set ($columns = ['affiliation', 'URL', "content", "coop", "coopDetails", "doc.date", '_actions'])
28 +#set ($columns = ['affiliation', 'URL', "content", "coop", "doc.date", '_actions'])
31 31  #foreach ($ntrg_tagCol in $ntrg_tagCols)
32 32  #set ($discard = $columns.add(3, "tags"))
33 33  #end