Changes for page P4P Networks

Last modified by Zenna Elfen on 2025/11/24 11:43

From version 15.1
edited by Zenna Elfen
on 2025/11/24 11:08
Change comment: Update LiveTable
To version 2.1
edited by Zenna Elfen
on 2025/11/20 21:24
Change comment: Update LiveTable

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -P4P Networks
1 +P4P Projects
Content
... ... @@ -1,14 +1,12 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 - 'doc.title': {"link":"view"},
3 + 'shortText1': {},
4 4   'shortText2': {},
5 - 'longText1': {"filterable":false,"sortable":false,"html":true},
6 - 'long_res': {"filterable":false,"sortable":false,"html":true},
7 - 'long_rep': {"filterable":false,"sortable":false,"html":true},
8 - 'long_peer': {"filterable":false,"sortable":false,"html":true},
9 - 'long_ident': {"filterable":false,"sortable":false,"html":true},
10 - 'long_transport': {"filterable":false,"sortable":false,"html":true},
11 - 'long_phys': {"filterable":false,"sortable":false,"html":true}
5 + 'doc.title': {"link":"view"},
6 + 'doc.location': {"html":true},
7 + 'doc.date': {},
8 + 'doc.author': {"link":"author"},
9 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
12 12  })
13 13  #set ($options = {
14 14   'className': 'Projects.Code.ProjectsClass',
... ... @@ -16,9 +16,9 @@
16 16   'tagCloud': true,
17 17   'rowCount': 15,
18 18   'maxPages': 10,
19 - 'selectedColumn': 'doc.title',
17 + 'selectedColumn': 'shortText1',
20 20   'defaultOrder': 'asc'
21 21  })
22 -#set ($columns = ['doc.title', 'shortText2', 'longText1', 'long_res', 'long_rep', 'long_peer', 'long_ident', 'long_transport', 'long_phys'])
20 +#set ($columns = ['shortText1', 'shortText2', 'doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions'])
23 23  #livetable('projects' $columns $columnsProperties $options)
24 24  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -doc.title shortText2 longText1 long_res long_rep long_peer long_ident long_transport long_phys
1 +shortText1 shortText2 doc.title doc.location doc.date doc.author _actions
Description
... ... @@ -1,8 +1,1 @@
1 -{{info}}
2 -Add your own entry under "**Actions**" on the right.
3 -{{/info}}
4 -
5 -
6 -
7 -
8 -
1 +Here you can find an overview of P4P projects, and add your own entry under "Actions" on the right.
XWiki.UIExtensionClass[0]
parameters
... ... @@ -1,3 +1,3 @@
1 -label=P4P Networks
1 +label=P4P Projects
2 2  target=Projects.WebHome
3 3  icon=icon:bricks