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 10.1
edited by Zenna Elfen
on 2025/11/24 09:40
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -2,13 +2,10 @@
2 2  #set ($columnsProperties = {
3 3   'doc.title': {"link":"view"},
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.location': {"html":true},
6 + 'doc.date': {},
7 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]},
8 + 'doc.author': {"link":"author"}
12 12  })
13 13  #set ($options = {
14 14   'className': 'Projects.Code.ProjectsClass',
... ... @@ -19,6 +19,6 @@
19 19   'selectedColumn': 'doc.title',
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'])
19 +#set ($columns = ['doc.title', 'shortText2', 'doc.location', 'doc.date', '_actions', 'doc.author'])
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 +doc.title shortText2 doc.location doc.date _actions doc.author
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 +Add your own entry under "Actions" on the right.