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.
|
Please review the <a href="https://matrix.org/legal/terms-and-conditions/" target="_blank">terms and conditions</a> before using this Service.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if not public_version %}
|
{% if has_consented %}
|
||||||
<!-- The variables used here are only provided when the 'u' param is given to the homeserver -->
|
<hr>
|
||||||
<form method="post" action="consent">
|
<p>
|
||||||
<input type="hidden" name="v" value="{{version}}"/>
|
Note: You have already accepted the privacy policy.
|
||||||
<input type="hidden" name="u" value="{{user}}"/>
|
</p>
|
||||||
<input type="hidden" name="h" value="{{userhmac}}"/>
|
|
||||||
<input type="submit" value="Accept"/>
|
{% else %}
|
||||||
</form>
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user