Hide last authors
| |
1.1 | 1 | {{velocity}} |
| 2 | #set($columnsProperties = { | ||
| 3 | 'name': {'type': 'text', 'link' : 'view', 'size': 10, 'filterable': true, 'sortable': true, 'html': false}, | ||
| 4 | 'status': {'type': 'list', 'size': 10, 'filterable': true, 'sortable': true, 'html': false}, | ||
| 5 | 'winner': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': false}, | ||
| 6 | '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} | ||
| 7 | }) | ||
| 8 | #set($options = { | ||
| 9 | 'className': 'XPoll.XPollClass', | ||
| 10 | 'translationPrefix': 'xpoll.livetable.', | ||
| 11 | 'tagCloud': true, | ||
| 12 | 'rowCount': 15, | ||
| 13 | 'maxPages': 10, | ||
| 14 | 'selectedColumn': 'name', | ||
| 15 | 'defaultOrder': 'asc' | ||
| 16 | }) | ||
| 17 | #set($columns = ['name', 'status', 'winner', '_actions']) | ||
| 18 | #livetable('xpoll' $columns $columnsProperties $options) | ||
| 19 | {{/velocity}} |