aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-04 11:56:58 -0500
committerFrederick Muriuki Muriithi2024-06-04 11:56:58 -0500
commitfb96ee3c4910e0fb17c7cb6a52751b32feb63514 (patch)
tree77f5f4efd4fe6c7850bc7d30f25086e62e5249c1
parentbb654a8b8e21fde36b889472fa31e941b0014bc8 (diff)
downloadgn-auth-fb96ee3c4910e0fb17c7cb6a52751b32feb63514.tar.gz
Update email styling and text.
-rw-r--r--gn_auth/templates/emails/verify-email.html18
-rw-r--r--gn_auth/templates/emails/verify-email.txt2
2 files changed, 8 insertions, 12 deletions
diff --git a/gn_auth/templates/emails/verify-email.html b/gn_auth/templates/emails/verify-email.html
index bc475c9..7f85c1c 100644
--- a/gn_auth/templates/emails/verify-email.html
+++ b/gn_auth/templates/emails/verify-email.html
@@ -8,19 +8,15 @@
<p>
To avoid bots, we need to verify that you are an actual human. To do so,
- please
- <a href="{{verification_uri}}?verificationcode={{verification_code}}"
- style="display: inline-block;text-align: center;vertical-align: center;cursor: pointer;border-radius: 4px;background-color: #336699;border-color: #357ebd;">
- Click here
- </a>.
- </p>
+ please click the button below
+ <a href="{{verification_uri}}"
+ style="display: block;text-align: center;vertical-align: center;cursor: pointer;border-radius: 4px;background-color: #336699;border-color: #357ebd;color: white;text-decoration: none;font-size: large;width: 9em;text-transform: capitalize;margin: 1em 0 0 3em;box-shadow: 2px 2px rgba(0, 0, 0, 0.3);">verify your email</a>.</p>
<p>
- If that does not work, please log in to GeneNetwork and copy the
- verification code below when requested:<br /><br />
-
- <span style="color: #3A3AFF;font-weight: bolder;">{{verification_code}}</span>
- </p>
+ If that fails, please log in to GeneNetwork and copy the verification code
+ below when requested:<br /><br />
+ <span style="font-weight: bolder;">{{verification_code}}
+ </span></p>
<p style="font-weight: bold;color: #ee55ee;">
Please note that the verification code will expire in
diff --git a/gn_auth/templates/emails/verify-email.txt b/gn_auth/templates/emails/verify-email.txt
index 7a39fea..281d682 100644
--- a/gn_auth/templates/emails/verify-email.txt
+++ b/gn_auth/templates/emails/verify-email.txt
@@ -3,7 +3,7 @@
Thank you for registering an account with GeneNetwork.
-To avoid bots, we need to verify that you are an actual human. To do so, please go to "{{verification_uri}}?verificationcode={{verification_code}}".
+To avoid bots, we need to verify that you are an actual human. To do so, please go to "{{verification_uri}}".
If that does not work, please log in to GeneNetwork and copy the verification code below when requested: