Improve wordings

- forgot password page
- login page
- activation email
- reset password email
This commit is contained in:
Son NK 2020-02-06 11:37:10 +07:00
parent 462937975f
commit dd02a50bad
6 changed files with 14 additions and 11 deletions

View File

@ -12,12 +12,12 @@
<form class="card" method="post">
{{ form.csrf_token }}
<div class="card-body p-6">
<div class="card-title">Forgot password</div>
<p class="text-muted">Enter your email address and your will receive an email to reset your password.</p>
<div class="card-title text-center">Forgot password</div>
<div class="form-group">
<label class="form-label">Email address</label>
{{ form.email(class="form-control", type="email", placeholder="Enter email") }}
{{ form.email(class="form-control", type="email",
placeholder="The email address associated with your SimpleLogin account") }}
{{ render_field_errors(form.email) }}
</div>

View File

@ -83,9 +83,9 @@
<i class="fa fa-facebook"></i> Sign in with Facebook
</a>
</div>
<div class="text-center p-3" style="font-size: 12px; font-weight: light; margin: auto">
<div class="text-center p-3" style="font-size: 12px; font-weight: 300; margin: auto">
We don't use the Facebook/Google SDK to avoid their trackers. <br>
We do not use the Facebook/Google SDK to avoid their trackers. <br>
However when using a social login button, please keep in mind that this social network will <b>know</b> that
you are using SimpleLogin.
@ -97,6 +97,6 @@
</div>
</div>
{% endblock %}

View File

@ -78,9 +78,9 @@
</a>
</div>
<div class="text-center p-3" style="font-size: 12px; font-weight: light; margin: auto">
<div class="text-center p-3" style="font-size: 12px; font-weight: 300; margin: auto">
We don't use the Facebook/Google SDK to avoid their trackers. <br>
We do not use the Facebook/Google SDK to avoid their trackers. <br>
However when using a social login button, please keep in mind that this social network will <b>know</b> that
you are using SimpleLogin.

View File

@ -194,7 +194,7 @@ def send_reset_password_email(user):
email_utils.send_reset_password_email(user.email, user.name, reset_password_link)
flash(
"You are going to receive an email containing instruction to change your password",
"You are going to receive an email containing instructions to change your password",
"success",
)

View File

@ -4,6 +4,6 @@
{{ render_text("Hi " + name) }}
{{ render_text("Thank you for choosing SimpleLogin.") }}
{{ render_text("To get started, please confirm that <b>" + email + "</b> is your email address by clicking on the button below or use this link " + activation_link + " within 1 hour.") }}
{{ render_button("Verify", activation_link) }}
{{ render_button("Verify email", activation_link) }}
{% endblock %}

View File

@ -4,6 +4,9 @@
{{ render_text("Hi " + name) }}
{{ render_text("You have asked to change your password.") }}
{{ render_text("To confirm, please click on the button below or use this link " + reset_password_link + " within 1 hour.") }}
{{ render_button("Reset password", reset_password_link) }}
{{ render_button("Reset your password", reset_password_link) }}
{{ render_text("If the password token has expired, you can request a new link by following the same process as before.") }}
{{ render_text("If you did not request a password reset, no further action is required.") }}
{% endblock %}