Wiki source code of Available WebViewers
Last modified by NMI Admin on 2026/02/27 16:04
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{velocity}} |
| 2 | #set ($discard = $services.localization.use('document', 'Viewers.ViewersTranslations')) | ||
| 3 | #set ($columnsProperties = { | ||
| 4 | 'doc.title': {"type":"text","size":20,"displayName":"Viewer Name","link":"view"}, | ||
| 5 | 'wrapperVersion': {"type":"text","size":10}, | ||
| 6 | 'description': {"type":"text","filterable":false,"sortable":false,"html":true}, | ||
| 7 | 'status': {"type":"list","size":10}, | ||
| 8 | 'mode': {"type":"list","size":10}, | ||
| 9 | 'type': {"type":"list","size":10}, | ||
| 10 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 11 | }) | ||
| 12 | #set ($options = { | ||
| 13 | 'className': 'Viewers.ViewersClass', | ||
| 14 | 'resultPage': 'Viewers.ViewersLiveTableResults', | ||
| 15 | 'translationPrefix': 'viewers.livetable.', | ||
| 16 | 'tagCloud': true, | ||
| 17 | 'rowCount': 15, | ||
| 18 | 'maxPages': 10, | ||
| 19 | 'selectedColumn': 'doc.title', | ||
| 20 | 'defaultOrder': 'asc' | ||
| 21 | }) | ||
| 22 | #set ($columns = ['doc.title', 'wrapperVersion', 'description', 'status', 'mode', 'type', '_actions']) | ||
| 23 | #livetable('viewers' $columns $columnsProperties $options) | ||
| 24 | {{/velocity}} |