Changes for page Materials

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

From version 2.1
edited by Benjamin Fischer
on 2024/07/31 12:39
Change comment: Update LiveTable
To version 1.2
edited by Benjamin Fischer
on 2024/07/31 12:32
Change comment: Updated application icon

Summary

Details

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