Wiki source code of Risks
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>Risks</strong><br/> | ||
| 5 | Information security risk register with inherent and residual assessment, treatment decision, ownership and status. | ||
| 6 | </div> | ||
| 7 | <form action="$xwiki.getURL('Risks.WebHome', 'create')" method="get" style="margin: 1em 0"> | ||
| 8 | <input type="hidden" name="templateprovider" value="Risks.Code.RisksTemplateProvider"/> | ||
| 9 | <button type="submit" class="btn btn-primary">Add New Risk</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': 'Risks.Code.RisksClass', | ||
| 18 | 'translationPrefix': 'risks.livetable.', | ||
| 19 | 'tagCloud': false, | ||
| 20 | 'rowCount': 20, | ||
| 21 | 'maxPages': 10, | ||
| 22 | 'selectedColumn': 'doc.title', | ||
| 23 | 'defaultOrder': 'asc' | ||
| 24 | }) | ||
| 25 | #set ($columns = ['riskId', 'doc.title', 'assetProcess', 'likelihood', 'impact', 'inherentScore', 'treatmentDecision', 'owner', 'status', '_actions']) | ||
| 26 | #livetable('risks' $columns $columnsProperties $options) | ||
| 27 | {{/velocity}} |