Wiki source code of Audits
Last modified by Lee Pedley on 2026/09/21 21:18
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | {{html wiki="true" clean="false"}} | ||
| 3 | <div class="box infomessage"> | ||
| 4 | <strong>Audits</strong><br/> | ||
| 5 | Audit register covering internal, external and certification assurance activities, scope, dates and findings. | ||
| 6 | </div> | ||
| 7 | <form action="$xwiki.getURL('Audits.WebHome', 'create')" method="get" style="margin: 1em 0"> | ||
| 8 | <input type="hidden" name="templateprovider" value="Audits.Code.AuditsTemplateProvider"/> | ||
| 9 | <button type="submit" class="btn btn-primary">Add New Audit</button> | ||
| 10 | </form> | ||
| 11 | {{/html}} | ||
| 12 | #set ($columnsProperties = { | ||
| 13 | 'doc.title': {"link":"view"}, | ||
| 14 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 15 | }) | ||
| 16 | #set ($options = { | ||
| 17 | 'className': 'Audits.Code.AuditsClass', | ||
| 18 | 'translationPrefix': 'audits.livetable.', | ||
| 19 | 'tagCloud': false, | ||
| 20 | 'rowCount': 20, | ||
| 21 | 'maxPages': 10, | ||
| 22 | 'selectedColumn': 'doc.title', | ||
| 23 | 'defaultOrder': 'asc' | ||
| 24 | }) | ||
| 25 | #set ($columns = ['auditId', 'doc.title', 'auditType', 'leadAuditor', 'status', 'startDate', 'endDate', '_actions']) | ||
| 26 | #livetable('audits' $columns $columnsProperties $options) | ||
| 27 | {{/velocity}} |