X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Femails%2Fverify-email%2Fhtml.pug;h=19ef65f757435e7248259b0fb3b46dad617cf84d;hb=e364e31e25bd1d4b8d801c845a96d6be708f0a18;hp=be9dde21b883d5244d94df340609245afbc35213;hpb=40c52969f731b9102d4b33c4f5a80bfbbc651894;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/emails/verify-email/html.pug b/server/lib/emails/verify-email/html.pug index be9dde21b..19ef65f75 100644 --- a/server/lib/emails/verify-email/html.pug +++ b/server/lib/emails/verify-email/html.pug @@ -1,17 +1,19 @@ extends ../common/greetings block title - | Account verification + | Email verification block content - p Welcome to #{instanceName}! - p. - You just created an account at #[a(href=WEBSERVER.URL) #{instanceName}]. - Your username there is: #{username}. - p. - 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. + if isRegistrationRequest + p You just requested an account on #[a(href=WEBSERVER.URL) #{instanceName}]. + else + p You just created an account on #[a(href=WEBSERVER.URL) #{instanceName}]. + + if isRegistrationRequest + p To complete your registration request you must verify your email first! + else + p To start using your account you must verify your email first! + + p 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.