emails: remove hardcoded PeerTube names

pull/3467/head
kontrollanten 2020-12-11 00:13:12 +01:00 committed by Chocobozzz
parent 2e4b8ae485
commit 40c52969f7
3 changed files with 10 additions and 7 deletions

View File

@ -5,6 +5,6 @@ block title
block content block content
p. 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}] Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}]
(this link will expire within seven days). (this link will expire within seven days).

View File

@ -7,6 +7,6 @@ block content
p. p.
A reset password procedure for your account #{username} has been requested on #[a(href=WEBSERVER.URL) #{instanceName}]. 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}] 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. p.
If you are not the person who initiated this request, please ignore this email. If you are not the person who initiated this request, please ignore this email.

View File

@ -4,11 +4,14 @@ block title
| Account verification | Account verification
block content block content
p Welcome to PeerTube! p Welcome to #{instanceName}!
p. 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}. Your username there is: #{username}.
p. p.
To start using PeerTube on #[a(href=WEBSERVER.URL) #{instanceName}] you must verify your email first! 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: #[a(href=verifyEmailUrl) #{verifyEmailUrl}] Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you.
If you are not the person who initiated this request, please ignore this email. 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.