From df4c603dea022146476812cbbc2b9f8f1e5e4870 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 5 May 2020 20:22:22 +0200 Subject: Switch emails to pug templates and provide richer html/text-only versions --- server/lib/emails/video-auto-blacklist-new/html.pug | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 server/lib/emails/video-auto-blacklist-new/html.pug (limited to 'server/lib/emails/video-auto-blacklist-new') diff --git a/server/lib/emails/video-auto-blacklist-new/html.pug b/server/lib/emails/video-auto-blacklist-new/html.pug new file mode 100644 index 000000000..07c8dfd16 --- /dev/null +++ b/server/lib/emails/video-auto-blacklist-new/html.pug @@ -0,0 +1,17 @@ +extends ../common/greetings +include ../common/mixins + +block title + | A video is pending moderation + +block content + p + | A recently added video was auto-blacklisted and requires moderator review before going public: + | + a(href=videoUrl) #{videoName} + | + | by #[+channel(channel)]. + p. + Apart from the publisher and the moderation team, no one will be able to see the video until you + unblacklist it. If you trust the publisher, any admin can whitelist the user for later videos so + that they don't require approval before going public. -- cgit v1.2.3