Changes for page Materials

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

From version 3.1
edited by Benjamin Fischer
on 2024/07/31 12:57
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,11 +1,10 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 + 'doc.title': {"link":"view"},
3 3   'doc.location': {"html":true},
4 - 'type': {},
5 - 'doc.title': {"displayName":"Title","link":"view"},
6 - 'part': {},
7 - 'date': {"html":true},
8 - 'author': {}
5 + 'doc.date': {},
6 + 'doc.author': {"link":"author"},
7 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
9 9  })
10 10  #set ($options = {
11 11   'className': 'Materials.Code.MaterialsClass',
... ... @@ -13,9 +13,9 @@
13 13   'tagCloud': true,
14 14   'rowCount': 15,
15 15   'maxPages': 10,
16 - 'selectedColumn': 'doc.location',
15 + 'selectedColumn': 'doc.title',
17 17   'defaultOrder': 'asc'
18 18  })
19 -#set ($columns = ['doc.location', 'type', 'doc.title', 'part', 'date', 'author'])
18 +#set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions'])
20 20  #livetable('materials' $columns $columnsProperties $options)
21 21  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -doc.location type title part date author
1 +doc.title doc.location doc.date doc.author _actions