Skip to content

Commit

Permalink
fix: Make message to check spam more prominent
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Mar 12, 2024
1 parent a535404 commit 064fec1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 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> folder.</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
5 changes: 3 additions & 2 deletions portal/templates/portal/reset_password_email_sent.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
{% block form_content %}
<div id="reset_password_email_sent_page"></div>
<h4>Thank you</h4>
<h5 class="text-left">If you have entered a valid email address, you will
receive a link enabling you to reset your password. Make sure to
check your <strong>spam</strong> folder.</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>
Expand Down

0 comments on commit 064fec1

Please sign in to comment.