From d95d15598847c7f020aa056e7e6e0c02d2bbf732 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 1 Jul 2020 16:05:30 +0200 Subject: Use 3 tables to represent abuses --- server/lib/emails/video-abuse-new/html.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/lib/emails/video-abuse-new') diff --git a/server/lib/emails/video-abuse-new/html.pug b/server/lib/emails/video-abuse-new/html.pug index 999c89d26..a1acdabdc 100644 --- a/server/lib/emails/video-abuse-new/html.pug +++ b/server/lib/emails/video-abuse-new/html.pug @@ -6,13 +6,13 @@ block title block content p - | #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] received an abuse report for the #{videoAbuse.video.channel.isLocal ? '' : 'remote '}video " - a(href=videoUrl) #{videoAbuse.video.name} - | " by #[+channel(videoAbuse.video.channel)] + | #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] received an abuse report for the #{isLocal ? '' : 'remote '}video " + a(href=videoUrl) #{videoName} + | " by #[+channel(videoChannel)] if videoPublishedAt | , published the #{videoPublishedAt}. else | , uploaded the #{videoCreatedAt} but not yet published. p The reporter, #{reporter}, cited the following reason(s): - blockquote #{videoAbuse.reason} + blockquote #{reason} br(style="display: none;") -- cgit v1.2.3