summary refs log tree commit diff
path: root/v1.37/privacy_policy_templates
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2021-06-29 09:17:14 +0000
committerbabolivier <babolivier@users.noreply.github.com>2021-06-29 09:17:14 +0000
commit19668ea015608de3b7aeb692003c379df4d9b050 (patch)
treed76d55ec5ae3a30538e8a94faaa2045dd2696e20 /v1.37/privacy_policy_templates
parentdeploy: cdf569e46811cb498e17eccf81d8f7d645aa60e9 (diff)
downloadsynapse-19668ea015608de3b7aeb692003c379df4d9b050.tar.xz
deploy: cdf569e46811cb498e17eccf81d8f7d645aa60e9
Diffstat (limited to 'v1.37/privacy_policy_templates')
-rw-r--r--v1.37/privacy_policy_templates/en/1.0.html26
-rw-r--r--v1.37/privacy_policy_templates/en/success.html11
2 files changed, 37 insertions, 0 deletions
diff --git a/v1.37/privacy_policy_templates/en/1.0.html b/v1.37/privacy_policy_templates/en/1.0.html
new file mode 100644
index 0000000000..321c7e4671
--- /dev/null
+++ b/v1.37/privacy_policy_templates/en/1.0.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <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>
+    {% if not public_version %}
+      <!-- The variables used here are only provided when the 'u' param is given to the homeserver -->
+      <form method="post" action="consent">
+        <input type="hidden" name="v" value="{{version}}"/>
+        <input type="hidden" name="u" value="{{user}}"/>
+        <input type="hidden" name="h" value="{{userhmac}}"/>
+        <input type="submit" value="Sure thing!"/>
+      </form>
+    {% endif %}
+  {% endif %}
+  </body>
+</html>
diff --git a/v1.37/privacy_policy_templates/en/success.html b/v1.37/privacy_policy_templates/en/success.html
new file mode 100644
index 0000000000..d55e90c94f
--- /dev/null
+++ b/v1.37/privacy_policy_templates/en/success.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <title>Matrix.org Privacy policy</title>
+  </head>
+  <body>
+    <p>
+      Sweet.
+    </p>
+  </body>
+</html>