Improve accept button in privacy policy
This commit is contained in:
parent
a18b15c56b
commit
6a0ca701cc
@ -142,14 +142,23 @@
|
||||
Please review the <a href="https://matrix.org/legal/terms-and-conditions/" target="_blank">terms and conditions</a> before using this Service.
|
||||
</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="Accept"/>
|
||||
</form>
|
||||
{% if has_consented %}
|
||||
<hr>
|
||||
<p>
|
||||
Note: You have already accepted the privacy policy.
|
||||
</p>
|
||||
|
||||
{% else %}
|
||||
{% if not public_version %}
|
||||
<hr>
|
||||
<!-- 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="Accept"/>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user