Wiki source code of Risks

Last modified by Lee Pedley on 2026/09/23 11:18

Show last authors
1 {{velocity}}
2 {{html wiki="true" clean="false"}}
3 <div class="box infomessage"><strong>Risks</strong><br/>Information security risk register with inherent/residual assessment, treatment decision, ownership and status.<br/><small>To create a structured record, use <strong>Add New Risk</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('Risks.WebHome','create')" method="get" style="display:inline-block;margin:1em 0">
5 <input type="hidden" name="templateprovider" value="Risks.Code.RisksTemplateProvider"/>
6 <button type="submit" class="btn btn-primary">Add New Risk</button>
7 </form> <a class="btn btn-default" href="$xwiki.getURL('ISMS.RiskReport','view')">Risk report</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 'owner': {"html":true},
13 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
14 })
15 #set ($options = {
16 'className': 'Risks.Code.RisksClass',
17 'translationPrefix': 'risks.livetable.',
18 'tagCloud': false,
19 'rowCount': 25,
20 'maxPages': 15,
21 'selectedColumn': 'doc.title',
22 'defaultOrder': 'asc'
23 })
24 #set ($columns = ['riskId', 'doc.title', 'assetProcess', 'inherentScore', 'residualScore', 'treatmentDecision', 'owner', 'targetDate', 'status', '_actions'])
25 #livetable('risks' $columns $columnsProperties $options)
26 {{/velocity}}