Skip to content

Commit

Permalink
fix: Make email spam warning more prominent (#2268)
Browse files Browse the repository at this point in the history
* fix: Make message to check spam more prominent

* Fix button style

* Make back button consistent
  • Loading branch information
faucomte97 committed Mar 14, 2024
1 parent a535404 commit e3aa963
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
30 changes: 15 additions & 15 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions portal/templates/portal/email_verification_needed.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
{% block form_content %}
<div id="emailVerificationNeeded_page"></div>
<h4>We need to verify your email address</h4>
<h5>An email has been sent to you. Make sure to check your
<strong>spam</strong>.</h5>
<img class="background" title="Paper Plane" alt="Verification email sent" src="{% static 'portal/img/paper_plane.png' %}">
<p class="text-left">An email has been sent to the address you provided.</p>
<p class="text-left">Please follow the link within the email to verify your details. This will expire in one hour.</p>
<p class="text-left">If you don't receive the email within the next few minutes, please check your spam folder.</p>
<div>
<a target="_blank" href="https://mail.google.com/mail/#search/from%3Ano-reply%40codeforlife.education+subject%3AEmail+Verification"
class="button button--home button-email">Open in Gmail</a>
Expand Down
12 changes: 3 additions & 9 deletions portal/templates/portal/reset_password_email_sent.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
{% block form_content %}
<div id="reset_password_email_sent_page"></div>
<h4>Thank you</h4>
<h5>If you have entered a valid email address, you will receive a link to
reset your password. Make sure to check your <strong>spam</strong>.</h5>
<img class="background" title="Paper Plane" alt="Verification email sent" src="{% static 'portal/img/paper_plane.png' %}">
<p class="text-left">If you have entered a valid email address, you will receive
a link enabling you to reset your password.</p>
<div>
{% if usertype == "TEACHER" %}
<a href="{% url 'home' %}" class="button button--primary button--login">Back to homepage</a>
{% else %}
<a href="{% url 'home' %}" class="button button--home">Back to homepage</a>
{% endif %}
</div>
<p class="text-left"><a id="home_button" href="{% url 'home' %}">&lt; back to homepage</a></p>
{% endblock form_content %}

0 comments on commit e3aa963

Please sign in to comment.