From 40c52969f731b9102d4b33c4f5a80bfbbc651894 Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Fri, 11 Dec 2020 00:13:12 +0100 Subject: emails: remove hardcoded PeerTube names --- server/lib/emails/password-create/html.pug | 2 +- server/lib/emails/password-reset/html.pug | 2 +- server/lib/emails/verify-email/html.pug | 13 ++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) (limited to 'server') diff --git a/server/lib/emails/password-create/html.pug b/server/lib/emails/password-create/html.pug index 2061435fc..afa30ae97 100644 --- a/server/lib/emails/password-create/html.pug +++ b/server/lib/emails/password-create/html.pug @@ -5,6 +5,6 @@ block title block content p. - Welcome to #[a(href=WEBSERVER.URL) #{instanceName}], your PeerTube instance. Your username is: #{username}. + Welcome to #[a(href=WEBSERVER.URL) #{instanceName}]. Your username is: #{username}. Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}] (this link will expire within seven days). \ No newline at end of file diff --git a/server/lib/emails/password-reset/html.pug b/server/lib/emails/password-reset/html.pug index 54a3ee6df..2af2885bc 100644 --- a/server/lib/emails/password-reset/html.pug +++ b/server/lib/emails/password-reset/html.pug @@ -7,6 +7,6 @@ block content p. A reset password procedure for your account #{username} has been requested on #[a(href=WEBSERVER.URL) #{instanceName}]. Please follow #[a(href=resetPasswordUrl) this link] to reset it: #[a(href=resetPasswordUrl) #{resetPasswordUrl}] - (the link will expire within 1 hour) + (the link will expire within 1 hour). p. If you are not the person who initiated this request, please ignore this email. diff --git a/server/lib/emails/verify-email/html.pug b/server/lib/emails/verify-email/html.pug index e6d805a16..be9dde21b 100644 --- a/server/lib/emails/verify-email/html.pug +++ b/server/lib/emails/verify-email/html.pug @@ -4,11 +4,14 @@ block title | Account verification block content - p Welcome to PeerTube! + p Welcome to #{instanceName}! p. - You just created an account #[a(href=WEBSERVER.URL) #{instanceName}], your new PeerTube instance. + You just created an account at #[a(href=WEBSERVER.URL) #{instanceName}]. Your username there is: #{username}. p. - To start using PeerTube on #[a(href=WEBSERVER.URL) #{instanceName}] you must verify your email first! - Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you: #[a(href=verifyEmailUrl) #{verifyEmailUrl}] - If you are not the person who initiated this request, please ignore this email. \ No newline at end of file + To start using your account you must verify your email first! + Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you. + p. + If you can't see the verification link above you can use the following link #[a(href=verifyEmailUrl) #{verifyEmailUrl}] + p. + If you are not the person who initiated this request, please ignore this email. -- cgit v1.2.3