Wiki source code of Audits
Last modified by Lee Pedley on 2026/09/21 21:59
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | {{html wiki="true" clean="false"}} | ||
| 3 | <div class="box infomessage"><strong>Audits</strong><br/>Audit programme and assurance register covering scope, dates, lead auditor, status and findings summary.<br/><small>To create a structured record, use <strong>Add New Audit</strong> below. The XWiki <strong>Create</strong> button in the top-right creates general wiki pages and is not the recommended route for ISMS records.</small></div> | ||
| 4 | <form action="$xwiki.getURL('Audits.WebHome','create')" method="get" style="display:inline-block;margin:1em 0"> | ||
| 5 | <input type="hidden" name="templateprovider" value="Audits.Code.AuditsTemplateProvider"/> | ||
| 6 | <button type="submit" class="btn btn-primary">Add New Audit</button> | ||
| 7 | </form> <a class="btn btn-default" href="$xwiki.getURL('ISMS.ManagementReview','view')">Management review pack</a> | ||
| 8 | <a class="btn btn-default" href="$xwiki.getURL('ISMS.Dashboard','view')">Dashboard</a> <a class="btn btn-default" href="$xwiki.getURL('ISMS.QuickStart','view')">Help / Start Here</a> | ||
| 9 | {{/html}} | ||
| 10 | #set ($columnsProperties = { | ||
| 11 | 'doc.title': {"link":"view"}, | ||
| 12 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 13 | }) | ||
| 14 | #set ($options = { | ||
| 15 | 'className': 'Audits.Code.AuditsClass', | ||
| 16 | 'translationPrefix': 'audits.livetable.', | ||
| 17 | 'tagCloud': false, | ||
| 18 | 'rowCount': 25, | ||
| 19 | 'maxPages': 15, | ||
| 20 | 'selectedColumn': 'doc.title', | ||
| 21 | 'defaultOrder': 'asc' | ||
| 22 | }) | ||
| 23 | #set ($columns = ['auditId', 'doc.title', 'auditType', 'leadAuditor', 'status', 'startDate', 'endDate', '_actions']) | ||
| 24 | #livetable('audits' $columns $columnsProperties $options) | ||
| 25 | {{/velocity}} |