Changes for page Materials

Last modified by Benjamin Fischer on 2024/07/31 13:19

From version 5.2
edited by Benjamin Fischer
on 2024/07/31 13:19
Change comment: Updated application icon
To version 1.1
edited by Benjamin Fischer
on 2024/07/31 12:32
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,10 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 + 'doc.title': {"link":"view"},
3 3   'doc.location': {"html":true},
4 - 'link': {},
5 - 'date': {"html":true},
6 - 'author': {}
5 + 'doc.date': {},
6 + 'doc.author': {"link":"author"},
7 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
7 7  })
8 8  #set ($options = {
9 9   'className': 'Materials.Code.MaterialsClass',
... ... @@ -11,9 +11,9 @@
11 11   'tagCloud': true,
12 12   'rowCount': 15,
13 13   'maxPages': 10,
14 - 'selectedColumn': 'doc.location',
15 + 'selectedColumn': 'doc.title',
15 15   'defaultOrder': 'asc'
16 16  })
17 -#set ($columns = ['doc.location', 'link', 'date', 'author'])
18 +#set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions'])
18 18  #livetable('materials' $columns $columnsProperties $options)
19 19  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -doc.location link date author
1 +doc.title doc.location doc.date doc.author _actions
XWiki.UIExtensionClass[0]
Extension ID
... ... @@ -1,1 +1,0 @@
1 -platform.panels.MaterialsApplication
Extension Parameters
... ... @@ -1,3 +1,0 @@
1 -label=Materials
2 -target=Materials.WebHome
3 -icon=icon:book