Wiki source code of Nice Display

Version 45.32 by Benjamin Fischer on 2025/05/15 17:08

Show last authors
1 {{locationSearch width="100%;clear:both;" className="Research Groups.Code.Research GroupsClass" description="Search, including in excerpts."/}}
2
3 {{velocity}}
4 #if ( $ntrg_tagCols == $null )
5 #set( $ntrg_tagCols = [["Tags", true]] )
6 #end
7 #set ($shouldMinify = !$hasProgramming )
8 #set ($discard = $xwiki.jsx.use('Research Groups.Nice Display.WebHome', {"minify": $shouldMinify}))
9
10 #set ($columnsProperties = {
11 'affiliation': {"filterable":true, "sortable":true, "html":true},
12 'URL': {"type": "hidden"},
13 "content": {"type": "hidden"},
14 "coopDetails": {"type": "hidden"},
15 "coop": {"html": true},
16 "Community": {"tooltip": "KAT - Astroparticle Physics<br/>KET - Elementary Particles Physics<br/>KfB - Accelerator Physics<br/>KFN - Research with neutrons<br/>KFN - Research with synchrotron radiation<br/>KFSI - Research with nuclear probes and ion beams<br/>KHuK - Hadron and nuclear physics<br/>RDS - German Observatory Council"},
17 "tags": {"sortable": false, "filterable": false, "html": true, "headerClass": "tagsCol", "aux": $ntrg_tagCols},
18 "doc.date": {"filterable": false, "displayName": "Last Updated"},
19 '_actions': {"actions":["view","edit"]}
20 })
21 #set ($options = {
22 'className': 'Research Groups.Code.Research GroupsClass',
23 'translationPrefix': 'research groups.livetable.',
24 'extraParams': "&location=${escapetool.url($doc.getSpace())}",
25 'tagCloud': true,
26 'rowCount': 25,
27 'maxPages': 10,
28 'selectedColumn': 'doc.date',
29 'defaultOrder': 'desc'
30 })
31 #set ($columns = ['affiliation', 'URL', "content", "coop", "coopDetails", "doc.date", '_actions'])
32 #foreach ($ntrg_tagCol in $ntrg_tagCols)
33 #set ($discard = $columns.add(3, "tags"))
34 #end
35 #livetable("research_groups" $columns $columnsProperties $options)
36 {{/velocity}}
37
38 (% id="howto" %)
39 == How-To Add/Update Entries ==
40
41 You need to be logged in to perform any modifications.
42
43 === Add entry ===
44
45 1. click {{html}}<button class="btn"><i class="fa fa-plus"/>Create</button>{{/html}} (top right)
46 1. fill in the Title in the top left (must be unique)
47 1. click {{html}}<button class="btn btn-primary">Create</button>{{/html}} (bottom left)
48 1. fill out the form
49 1. click {{html}}<button class="btn btn-primary">Save & View</button>{{/html}} (bottom left)
50 1. add tags (bottom left): click on the [+] behind: "Tags:"
51
52 === Modfiy entry ===
53
54 1. click on {{icon name="pencil"/}} Edit
55 1. update the form
56 1. click {{html}}<button class="btn btn-primary">Save & View</button>{{/html}} (bottom left)
57 1. update the Tags (bottom left)