summary refs log tree commit diff
path: root/docs/privacy_policy_templates/en
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-05-22 14:50:22 +0100
committerRichard van der Hoff <richard@matrix.org>2018-05-22 14:58:34 +0100
commit7b36d06a69942653f6c6fbb6dbf341a452002237 (patch)
tree243618cf64c64c54fb82529724c02cacc1b9910b /docs/privacy_policy_templates/en
parentEnable auto-escaping for the consent templates (diff)
downloadsynapse-7b36d06a69942653f6c6fbb6dbf341a452002237.tar.xz
Add a 'has_consented' template var to consent forms
fixes #3260
Diffstat (limited to 'docs/privacy_policy_templates/en')
-rw-r--r--docs/privacy_policy_templates/en/1.0.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/privacy_policy_templates/en/1.0.html b/docs/privacy_policy_templates/en/1.0.html
index ab8666f0c3..55c5e4b612 100644
--- a/docs/privacy_policy_templates/en/1.0.html
+++ b/docs/privacy_policy_templates/en/1.0.html
@@ -4,6 +4,11 @@
     <title>Matrix.org Privacy policy</title>
   </head>
   <body>
+  {% if has_consented %}
+    <p>
+      Your base already belong to us.
+    </p>
+  {% else %}
     <p>
       All your base are belong to us.
     </p>
@@ -13,5 +18,6 @@
       <input type="hidden" name="h" value="{{userhmac}}"/>
       <input type="submit" value="Sure thing!"/>
     </form>
+  {% endif %}
   </body>
 </html>