Merge branch 'MDL-62281-master' of git://github.com/sarjona/moodle
[moodle.git] / admin / tool / policy / templates / acceptances.mustache
index 53a91e1..5a55531 100644 (file)
@@ -31,6 +31,7 @@
     Example context (json):
     {
         "hasonbehalfagreements": true,
+        "canrevoke": true,
         "policies": [
             {
               "versions": [
         ]
     }
 }}
+{{^canrevoke}}
+    <div class="alert alert-info">{{#str}} contactdpo, tool_policy {{/str}}</div>
+{{/canrevoke}}
+
 <table class="generaltable fullwidth">
     <thead>
     <tr>