From dd65b9f358346832e396543fcf095f30bb8de168 Mon Sep 17 00:00:00 2001 From: Paul <paulmakles@gmail.com> Date: Tue, 27 Jul 2021 16:25:32 +0100 Subject: [PATCH] Try make content match href. --- assets/templates/reset.html | 7 ++----- assets/templates/verify.html | 7 ++----- set_version.sh | 2 +- src/version.rs | 2 +- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/assets/templates/reset.html b/assets/templates/reset.html index 6f844fb..d883f11 100644 --- a/assets/templates/reset.html +++ b/assets/templates/reset.html @@ -35,10 +35,7 @@ You requested a password reset, if you did not request this then you can safely ignore it. </p> <p style="margin: 0;"> - Reset your password by <a href="{{url}}">clicking here</a>. - </p> - <p> - Or by manually navigating to the URL: {{url}} + Reset your password by navigating to <a href="{{url}}">{{url}}</a>. </p> </td> </tr> @@ -50,7 +47,7 @@ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;"> <tr> <td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;"> - <p style="margin: 0;">Sent by Revolt. · <a style="color: white;" href="https://revolt.chat">Website</a></p> + <p style="margin: 0;">Sent by Revolt. · Website: <a style="color: white;" href="https://revolt.chat">https://revolt.chat</a></p> <p>Revolt is a user-first chat platform built with modern web technologies.</p> </td> </tr> diff --git a/assets/templates/verify.html b/assets/templates/verify.html index 28ed90e..47da512 100644 --- a/assets/templates/verify.html +++ b/assets/templates/verify.html @@ -35,10 +35,7 @@ You're almost there! Verify your account to be able to log into the platform. </p> <p style="margin: 0;"> - Please verify your account by <a href="{{url}}">clicking here</a>. - </p> - <p> - Or by manually navigating to the URL: {{url}} + Please verify your account by navigating to <a href="{{url}}">{{url}}</a>. </p> </td> </tr> @@ -50,7 +47,7 @@ <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;"> <tr> <td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px;"> - <p style="margin: 0;">Sent by Revolt. · <a style="color: white;" href="https://revolt.chat">Website</a></p> + <p style="margin: 0;">Sent by Revolt. · Website: <a style="color: white;" href="https://revolt.chat">https://revolt.chat</a></p> <p>Revolt is a user-first chat platform built with modern web technologies.</p> </td> </tr> diff --git a/set_version.sh b/set_version.sh index a8e1c49..bb7c286 100755 --- a/set_version.sh +++ b/set_version.sh @@ -1,3 +1,3 @@ #!/bin/bash -export version=0.5.1-alpha.12 +export version=0.5.1-alpha.13 echo "pub const VERSION: &str = \"${version}\";" > src/version.rs diff --git a/src/version.rs b/src/version.rs index 5004496..20626f1 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1 +1 @@ -pub const VERSION: &str = "0.5.1-alpha.12"; +pub const VERSION: &str = "0.5.1-alpha.13"; -- GitLab