Wiki source code of Evidence
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>Evidence</strong><br/>Evidence register linking records and attachments to controls/risks with ownership and validity dates.<br/><small>To create a structured record, use <strong>Add New Evidence Record</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('Evidence.WebHome','create')" method="get" style="display:inline-block;margin:1em 0"> | ||
| 5 | <input type="hidden" name="templateprovider" value="Evidence.Code.EvidenceTemplateProvider"/> | ||
| 6 | <button type="submit" class="btn btn-primary">Add New Evidence</button> | ||
| 7 | </form> | ||
| 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': 'Evidence.Code.EvidenceClass', | ||
| 16 | 'translationPrefix': 'evidence.livetable.', | ||
| 17 | 'tagCloud': false, | ||
| 18 | 'rowCount': 25, | ||
| 19 | 'maxPages': 15, | ||
| 20 | 'selectedColumn': 'doc.title', | ||
| 21 | 'defaultOrder': 'asc' | ||
| 22 | }) | ||
| 23 | #set ($columns = ['evidenceId', 'doc.title', 'evidenceType', 'owner', 'evidenceDate', 'validUntil', 'status', '_actions']) | ||
| 24 | #livetable('evidence' $columns $columnsProperties $options) | ||
| 25 | {{/velocity}} |