Wiki source code of Controlled Documents
Last modified by Lee Pedley on 2026/09/21 17:14
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #set ($columnsProperties = { | ||
| 3 | 'doc.title': {"link":"view"}, | ||
| 4 | 'documentId': {}, | ||
| 5 | 'documentType': {}, | ||
| 6 | 'owner': {}, | ||
| 7 | 'status': {}, | ||
| 8 | 'versionNumber': {}, | ||
| 9 | 'nextReviewDate': {}, | ||
| 10 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 11 | }) | ||
| 12 | #set ($options = { | ||
| 13 | 'className': 'Controlled Documents.Code.Controlled DocumentsClass', | ||
| 14 | 'translationPrefix': 'controlled documents.livetable.', | ||
| 15 | 'tagCloud': false, | ||
| 16 | 'rowCount': 20, | ||
| 17 | 'maxPages': 10, | ||
| 18 | 'selectedColumn': 'documentId', | ||
| 19 | 'defaultOrder': 'asc' | ||
| 20 | }) | ||
| 21 | #set ($columns = ['documentId','doc.title','documentType','owner','status','versionNumber','nextReviewDate','_actions']) | ||
| 22 | #livetable('controlled documents' $columns $columnsProperties $options) | ||
| 23 | {{/velocity}} |