Improve accept button in privacy policy

This commit is contained in:
BBaoVanC 2021-09-18 17:04:14 -05:00
parent a18b15c56b
commit 6a0ca701cc

View File

@ -142,7 +142,15 @@
Please review the <a href="https://matrix.org/legal/terms-and-conditions/" target="_blank">terms and conditions</a> before using this Service.
</p>
{% 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}}"/>
@ -151,6 +159,7 @@
<input type="submit" value="Accept"/>
</form>
{% endif %}
{% endif %}
</body>