Wiki source code of Risk Treatments

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>Risk Treatments</strong><br/>Risk treatment plan linking actions to risks and controls with ownership, dates and completion status.<br/><small>To create a structured record, use <strong>Add New Risk Treatment</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('Risk Treatments.WebHome','create')" method="get" style="display:inline-block;margin:1em 0">
5 <input type="hidden" name="templateprovider" value="Risk Treatments.Code.Risk TreatmentsTemplateProvider"/>
6 <button type="submit" class="btn btn-primary">Add New Risk Treatment</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 'relatedRisk': {"html":true},
13 'owner': {"html":true},
14 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
15 })
16 #set ($options = {
17 'className': 'Risk Treatments.Code.Risk TreatmentsClass',
18 'translationPrefix': 'risk.treatments.livetable.',
19 'tagCloud': false,
20 'rowCount': 25,
21 'maxPages': 15,
22 'selectedColumn': 'doc.title',
23 'defaultOrder': 'asc'
24 })
25 #set ($columns = ['treatmentId', 'doc.title', 'relatedRisk', 'owner', 'targetDate', 'status', 'completionDate', '_actions'])
26 #livetable('riskTreatments' $columns $columnsProperties $options)
27 {{/velocity}}