Wiki source code of Risk Treatments
Last modified by Lee Pedley on 2026/09/21 21:34
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 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.</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 | {{/html}} | ||
| 9 | #set ($columnsProperties = { | ||
| 10 | 'doc.title': {"link":"view"}, | ||
| 11 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 12 | }) | ||
| 13 | #set ($options = { | ||
| 14 | 'className': 'Risk Treatments.Code.Risk TreatmentsClass', | ||
| 15 | 'translationPrefix': 'risk.treatments.livetable.', | ||
| 16 | 'tagCloud': false, | ||
| 17 | 'rowCount': 25, | ||
| 18 | 'maxPages': 15, | ||
| 19 | 'selectedColumn': 'doc.title', | ||
| 20 | 'defaultOrder': 'asc' | ||
| 21 | }) | ||
| 22 | #set ($columns = ['treatmentId', 'doc.title', 'relatedRisk', 'owner', 'targetDate', 'status', 'completionDate', '_actions']) | ||
| 23 | #livetable('riskTreatments' $columns $columnsProperties $options) | ||
| 24 | {{/velocity}} |