fix: Minor wording improvements

This commit is contained in:
Ginger
2026-05-26 14:27:09 -04:00
parent 242414c0b8
commit 91923d0afa
5 changed files with 19 additions and 10 deletions
@@ -11,7 +11,9 @@ Change your email
{% match body %} {% match body %}
{% when ChangeEmailValidateBody::ValidationPending { session_id, client_secret, validation_error } %} {% when ChangeEmailValidateBody::ValidationPending { session_id, client_secret, validation_error } %}
<p> <p>
A message has been sent to your new email address with a validation link. If you do not receive the email: A message has been sent to your new email address with a validation link.
To finish changing your email, click the link and then return to this page.
If you do not receive the email:
<ul> <ul>
<li>Check your spam filter.</li> <li>Check your spam filter.</li>
</ul> </ul>
@@ -10,16 +10,18 @@ Change your password
{%- block content -%} {%- block content -%}
<div class="panel narrow"> <div class="panel narrow">
<h1>Change your password</h1> <h1>Change your password <a class="back" href="{{ crate::ROUTE_PREFIX }}/account/">Back</a></h1>
{{ user_card }} {{ user_card }}
{% match body %} {% match body %}
{% when ChangePasswordBody::Form(reset_form) %} {% when ChangePasswordBody::Form(reset_form) %}
{{ reset_form }} {{ reset_form }}
<a class="reset-password" href="reset/"><i>Forgot your password?</i></a> <div class="centered-links">
<a href="{{ crate::ROUTE_PREFIX }}/account/password/reset/">Forgot your password?</a>
</div>
{% when ChangePasswordBody::Success %} {% when ChangePasswordBody::Success %}
<p> <p>
Your password has been changed successfully. <a href="{{ crate::ROUTE_PREFIX }}/account/">Back</a> Your password has been changed successfully. <a href="{{ crate::ROUTE_PREFIX }}/account/">Back</a>
</p> </p>
{% endmatch %} {% endmatch %}
</div> </div>
{%- endblock -%} {%- endblock -%}
+3
View File
@@ -163,5 +163,8 @@ Sign up
<button type="submit">Continue</button> <button type="submit">Continue</button>
</form> </form>
{% endmatch %} {% endmatch %}
<div class="centered-links">
<a href="{{ crate::ROUTE_PREFIX }}/account/login">I already have an account</a>
</div>
</div> </div>
{%- endblock -%} {%- endblock -%}
@@ -8,7 +8,7 @@ Confirm your email
<div class="panel narrow"> <div class="panel narrow">
<h1>Confirm your email</h1> <h1>Confirm your email</h1>
<p> <p>
A message has been sent to your new email address with a validation link. A message has been sent to your email address with a validation link.
To finish creating your account, click the link and then return to this page. To finish creating your account, click the link and then return to this page.
If you do not receive the email: If you do not receive the email:
<ul> <ul>
@@ -10,7 +10,9 @@ Reset your password
{% match body %} {% match body %}
{% when ResetPasswordValidateBody::ValidationPending { session_id, client_secret, validation_error } %} {% when ResetPasswordValidateBody::ValidationPending { session_id, client_secret, validation_error } %}
<p> <p>
Check your inbox for the validation email. If you do not receive the email: A message has been sent to your email address with a validation link.
To finish resetting your password, click the link and then return to this page.
If you do not receive the email:
<ul> <ul>
<li>Check your spam filter.</li> <li>Check your spam filter.</li>
<li>Your Matrix account may not be associated with an email address. Contact your homeserver's <li>Your Matrix account may not be associated with an email address. Contact your homeserver's
@@ -30,7 +32,7 @@ Reset your password
{{ form }} {{ form }}
{% when ResetPasswordValidateBody::ResetSuccess { user_card } %} {% when ResetPasswordValidateBody::ResetSuccess { user_card } %}
{{ user_card }} {{ user_card }}
<p>Your password has been reset successfully.</p> <p>Your password has been reset successfully. <a href="{{ crate::ROUTE_PREFIX }}/account/login">Return to login</a></p>
{% endmatch %} {% endmatch %}
</div> </div>
{%- endblock -%} {%- endblock -%}