Wiki source code of Events
                  Last modified by ztx lyghters on 2025/01/31 17:47
              
      Hide last authors
| author | version | line-number | content | 
|---|---|---|---|
                                                          ![]()  | 
      1.1 | 1 | {{velocity}} | 
| 2 | #set ($columnsProperties = { | ||
| 3 | 'doc.title': {"displayName":"Title","link":"view"}, | ||
| 4 | 'location': {}, | ||
| 5 | 'startDate': {"html":true}, | ||
| 6 | 'endDate': {"html":true}, | ||
| 7 | 'responsible': {"html":true}, | ||
| 8 | 'doc.author': {"link":"author"}, | ||
| 9 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 10 | }) | ||
| 11 | #set ($options = { | ||
| 12 | 'className': 'Event.Code.EventClass', | ||
| 13 | 'translationPrefix': 'event.livetable.', | ||
| 14 | 'tagCloud': true, | ||
| 15 | 'rowCount': 15, | ||
| 16 | 'maxPages': 10, | ||
| 17 | 'selectedColumn': 'doc.title', | ||
| 18 | 'defaultOrder': 'asc' | ||
| 19 | }) | ||
| 20 | #set ($columns = ['doc.title', 'location', 'startDate', 'endDate', 'responsible', 'doc.author', '_actions']) | ||
| 21 | #livetable('event' $columns $columnsProperties $options) | ||
| 22 | {{/velocity}} | 
