From 7d0fcb5c86b4362f2191744936fcbc7779d6ea50 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 18 Apr 2018 12:16:53 +0800 Subject: [PATCH] MDL-61864 tool_policy: Fix whitespace issues --- .../policy/templates/acceptances.mustache | 96 +++++++++---------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/admin/tool/policy/templates/acceptances.mustache b/admin/tool/policy/templates/acceptances.mustache index 63a7335ae80..6c37b4c9f13 100644 --- a/admin/tool/policy/templates/acceptances.mustache +++ b/admin/tool/policy/templates/acceptances.mustache @@ -29,60 +29,60 @@ * policies Example context (json): - { + { "hasonbehalfagreements": true, "policies": [ - { - "versions": [ - { - "isfirst": true, - "policyid": 1, - "viewurl": "/", - "name": "Terms & conditions", - "revision": "2.0", - "hasarchived": true, - "timeaccepted": "1 Mar 2018", - "agreement": { - "onbehalf": false, - "status": false, - "canaccept": true, - "acceptlink": "#" - } - }, - { - "isfirst": false, - "policyid": 1, - "viewurl": "/", - "name": "Terms & conditions", - "revision": "1.0-beta", - "acceptedby": "Mary Smith", - "note": "Based on parent's agreement via email", - "hasarchived": false, - "timeaccepted": "15 Feb 2018", - "agreement": { - "onbehalf": true, - "status": true, - "canaccept": false - } - } - ] - } - ] - } + { + "versions": [ + { + "isfirst": true, + "policyid": 1, + "viewurl": "/", + "name": "Terms & conditions", + "revision": "2.0", + "hasarchived": true, + "timeaccepted": "1 Mar 2018", + "agreement": { + "onbehalf": false, + "status": false, + "canaccept": true, + "acceptlink": "#" + } + }, + { + "isfirst": false, + "policyid": 1, + "viewurl": "/", + "name": "Terms & conditions", + "revision": "1.0-beta", + "acceptedby": "Mary Smith", + "note": "Based on parent's agreement via email", + "hasarchived": false, + "timeaccepted": "15 Feb 2018", + "agreement": { + "onbehalf": true, + "status": true, + "canaccept": false + } + } + ] + } + ] + } }} - - - - - {{#hasonbehalfagreements}} - - - {{/hasonbehalfagreements}} - - + + + + + {{#hasonbehalfagreements}} + + + {{/hasonbehalfagreements}} + + {{#policies}} -- 2.39.2
{{#str}} policydocname, tool_policy {{/str}}{{#str}} policydocrevision, tool_policy {{/str}}{{#str}} agreed, tool_policy {{/str}}{{#str}} agreedon, tool_policy {{/str}}{{#str}} agreedby, tool_policy {{/str}}{{#str}} acceptancenote, tool_policy {{/str}}
{{#str}} policydocname, tool_policy {{/str}}{{#str}} policydocrevision, tool_policy {{/str}}{{#str}} agreed, tool_policy {{/str}}{{#str}} agreedon, tool_policy {{/str}}{{#str}} agreedby, tool_policy {{/str}}{{#str}} acceptancenote, tool_policy {{/str}}