mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-27 00:31:55 -06:00
Add consent tracking template
This commit is contained in:
parent
ccc11f94f7
commit
4da7df5e3e
26
docs/templates/privacy/1.0.gohtml
vendored
Normal file
26
docs/templates/privacy/1.0.gohtml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Matrix.org Privacy policy</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ if .HasConsented }}
|
||||
<p>
|
||||
Your base already belong to us.
|
||||
</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
All your base are belong to us.
|
||||
</p>
|
||||
{{ if not .PublicVersion }}
|
||||
<!-- 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>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue