]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/emails/verify-email/html.pug
Implement signup approval in server
[github/Chocobozzz/PeerTube.git] / server / lib / emails / verify-email / html.pug
index 8a4a777032177290555e20e3bf50e7b967f9679d..19ef65f757435e7248259b0fb3b46dad617cf84d 100644 (file)
@@ -1,14 +1,19 @@
 extends ../common/greetings
 
 block title
-  | Account verification
+  | Email verification
 
 block content
-  p Welcome to PeerTube!
-  p.
-    You just created an account #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}], your new PeerTube instance. 
-    Your username there is: #{username}.
-  p.
-    To start using PeerTube on #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] 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
+  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.