summary refs log tree commit diff
path: root/v1.51/privacy_policy_templates
diff options
context:
space:
mode:
authorreivilibre <reivilibre@users.noreply.github.com>2022-01-21 10:30:06 +0000
committerreivilibre <reivilibre@users.noreply.github.com>2022-01-21 10:30:06 +0000
commit5d59e3eb2d60d8675843ad9a996e1731683d7221 (patch)
tree4f9d78e44e02b04df05890e9c5d716ee238e856c /v1.51/privacy_policy_templates
parentdeploy: 56834ab779f82858c9229809e8095771ae48ac8d (diff)
downloadsynapse-5d59e3eb2d60d8675843ad9a996e1731683d7221.tar.xz
deploy: 15ffc4143c36593bc3d899fad7fb5db00f4d95ea
Diffstat (limited to 'v1.51/privacy_policy_templates')
-rw-r--r--v1.51/privacy_policy_templates/en/1.0.html26
-rw-r--r--v1.51/privacy_policy_templates/en/success.html11
2 files changed, 37 insertions, 0 deletions
diff --git a/v1.51/privacy_policy_templates/en/1.0.html b/v1.51/privacy_policy_templates/en/1.0.html
new file mode 100644
index 0000000000..321c7e4671
--- /dev/null
+++ b/v1.51/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.51/privacy_policy_templates/en/success.html b/v1.51/privacy_policy_templates/en/success.html
new file mode 100644
index 0000000000..d55e90c94f
--- /dev/null
+++ b/v1.51/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>