diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2020-12-11 00:13:12 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 15:37:29 +0100 |
commit | 40c52969f731b9102d4b33c4f5a80bfbbc651894 (patch) | |
tree | b4c9097889b3d500bd2f29ebfe1373fea14a9def /server/lib | |
parent | 2e4b8ae4858616572deec6ebdaa38f20ae96be7a (diff) | |
download | PeerTube-40c52969f731b9102d4b33c4f5a80bfbbc651894.tar.gz PeerTube-40c52969f731b9102d4b33c4f5a80bfbbc651894.tar.zst PeerTube-40c52969f731b9102d4b33c4f5a80bfbbc651894.zip |
emails: remove hardcoded PeerTube names
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/emails/password-create/html.pug | 2 | ||||
-rw-r--r-- | server/lib/emails/password-reset/html.pug | 2 | ||||
-rw-r--r-- | server/lib/emails/verify-email/html.pug | 13 |
3 files changed, 10 insertions, 7 deletions
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 | |||
5 | 5 | ||
6 | block content | 6 | block content |
7 | p. | 7 | p. |
8 | Welcome to #[a(href=WEBSERVER.URL) #{instanceName}], your PeerTube instance. Your username is: #{username}. | 8 | Welcome to #[a(href=WEBSERVER.URL) #{instanceName}]. Your username is: #{username}. |
9 | Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}] | 9 | Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}] |
10 | (this link will expire within seven days). \ No newline at end of file | 10 | (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 | |||
7 | p. | 7 | p. |
8 | A reset password procedure for your account #{username} has been requested on #[a(href=WEBSERVER.URL) #{instanceName}]. | 8 | A reset password procedure for your account #{username} has been requested on #[a(href=WEBSERVER.URL) #{instanceName}]. |
9 | Please follow #[a(href=resetPasswordUrl) this link] to reset it: #[a(href=resetPasswordUrl) #{resetPasswordUrl}] | 9 | Please follow #[a(href=resetPasswordUrl) this link] to reset it: #[a(href=resetPasswordUrl) #{resetPasswordUrl}] |
10 | (the link will expire within 1 hour) | 10 | (the link will expire within 1 hour). |
11 | p. | 11 | p. |
12 | If you are not the person who initiated this request, please ignore this email. | 12 | 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 | |||
4 | | Account verification | 4 | | Account verification |
5 | 5 | ||
6 | block content | 6 | block content |
7 | p Welcome to PeerTube! | 7 | p Welcome to #{instanceName}! |
8 | p. | 8 | p. |
9 | You just created an account #[a(href=WEBSERVER.URL) #{instanceName}], your new PeerTube instance. | 9 | You just created an account at #[a(href=WEBSERVER.URL) #{instanceName}]. |
10 | Your username there is: #{username}. | 10 | Your username there is: #{username}. |
11 | p. | 11 | p. |
12 | To start using PeerTube on #[a(href=WEBSERVER.URL) #{instanceName}] you must verify your email first! | 12 | To start using your account you must verify your email first! |
13 | Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you: #[a(href=verifyEmailUrl) #{verifyEmailUrl}] | 13 | Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you. |
14 | If you are not the person who initiated this request, please ignore this email. \ No newline at end of file | 14 | p. |
15 | If you can't see the verification link above you can use the following link #[a(href=verifyEmailUrl) #{verifyEmailUrl}] | ||
16 | p. | ||
17 | If you are not the person who initiated this request, please ignore this email. | ||