Wiki source code of Nice Display
Version 45.10 by Benjamin Fischer on 2025/03/26 10:32
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
42.1 | 1 | {{locationSearch width="100%;clear:both;" className="Research Groups.Code.Research GroupsClass" description="Search, including in excerpts."/}} |
![]() |
37.1 | 2 | |
![]() |
28.1 | 3 | {{velocity}} |
![]() |
45.10 | 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 | |||
![]() |
28.1 | 12 | #set ($columnsProperties = { |
13 | 'affiliation': {"filterable":true, "sortable":true, "html":true}, | ||
14 | 'URL': {"type": "hidden"}, | ||
15 | "content": {"type": "hidden"}, | ||
![]() |
41.7 | 16 | "coop": {}, |
![]() |
28.1 | 17 | "tags": {"sortable": false, "filterable": false, "html": true, "headerClass": "tagsCol"}, |
![]() |
30.1 | 18 | "doc.date": {"filterable": false, "displayName": "Last Updated"}, |
![]() |
28.1 | 19 | '_actions': {"actions":["view","edit"]} |
20 | }) | ||
21 | #set ($options = { | ||
22 | 'className': 'Research Groups.Code.Research GroupsClass', | ||
23 | 'translationPrefix': 'research groups.livetable.', | ||
![]() |
45.5 | 24 | 'extraParams': "&location=${escapetool.url($doc.getSpace())}", |
![]() |
28.1 | 25 | 'tagCloud': true, |
![]() |
32.2 | 26 | 'rowCount': 25, |
![]() |
28.1 | 27 | 'maxPages': 10, |
![]() |
30.1 | 28 | 'selectedColumn': 'doc.date', |
![]() |
31.1 | 29 | 'defaultOrder': 'desc' |
![]() |
28.1 | 30 | }) |
![]() |
41.7 | 31 | #set ($columns = ['affiliation', 'URL', "content", "tags", "coop", "doc.date", '_actions']) |
![]() |
29.1 | 32 | #livetable('research_groups' $columns $columnsProperties $options) |
![]() |
28.1 | 33 | {{/velocity}} |
![]() |
42.1 | 34 | |
35 | (% id="howto" %) | ||
36 | == How-To Add/Update Entries == | ||
37 | |||
38 | You need to be logged in to perform any modifications. | ||
39 | |||
40 | === Add entry === | ||
41 | |||
42 | 1. click {{html}}<button class="btn"><i class="fa fa-plus"/>Create</button>{{/html}} (top right) | ||
![]() |
44.1 | 43 | 1. fill in the Title in the top left (must be unique) |
44 | 1. click {{html}}<button class="btn btn-primary">Create</button>{{/html}} (bottom left) | ||
45 | 1. fill out the form | ||
46 | 1. click {{html}}<button class="btn btn-primary">Save & View</button>{{/html}} (bottom left) | ||
47 | 1. add tags (bottom left): click on the [+] behind: "Tags:" | ||
![]() |
42.1 | 48 | |
49 | === Modfiy entry === | ||
50 | |||
51 | 1. click on {{icon name="pencil"/}} Edit | ||
![]() |
44.1 | 52 | 1. update the form |
53 | 1. click {{html}}<button class="btn btn-primary">Save & View</button>{{/html}} (bottom left) | ||
54 | 1. update the Tags (bottom left) | ||
![]() |
42.1 | 55 | |
56 | === Demo Video - Coming Soon === |