diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-09 15:54:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-10 14:02:41 +0200 |
commit | cfde28bac33c3644e1b6218eb471b675a37def60 (patch) | |
tree | eb648fc358a2face0f14c598c8eec7769e6b0ed5 /server/lib/emails | |
parent | 8ca56654a176ee8f350d31282c6cac4a59f58499 (diff) | |
download | PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.tar.gz PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.tar.zst PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.zip |
Add ability to report account
Diffstat (limited to 'server/lib/emails')
-rw-r--r-- | server/lib/emails/account-abuse-new/html.pug | 4 | ||||
-rw-r--r-- | server/lib/emails/video-comment-abuse-new/html.pug | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/server/lib/emails/account-abuse-new/html.pug b/server/lib/emails/account-abuse-new/html.pug index 06be8025b..f1aa2886e 100644 --- a/server/lib/emails/account-abuse-new/html.pug +++ b/server/lib/emails/account-abuse-new/html.pug | |||
@@ -6,8 +6,8 @@ block title | |||
6 | 6 | ||
7 | block content | 7 | block content |
8 | p | 8 | p |
9 | | #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] received an abuse report for the #{isLocal ? '' : 'remote '}account " | 9 | | #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] received an abuse report for the #{isLocal ? '' : 'remote '}account |
10 | a(href=accountUrl) #{accountDisplayName} | 10 | a(href=accountUrl) #{accountDisplayName} |
11 | 11 | ||
12 | p The reporter, #{reporter}, cited the following reason(s): | 12 | p The reporter, #{reporter}, cited the following reason(s): |
13 | blockquote #{reason} | 13 | blockquote #{reason} |
diff --git a/server/lib/emails/video-comment-abuse-new/html.pug b/server/lib/emails/video-comment-abuse-new/html.pug index fc1c3e4e7..e92d986b5 100644 --- a/server/lib/emails/video-comment-abuse-new/html.pug +++ b/server/lib/emails/video-comment-abuse-new/html.pug | |||
@@ -6,10 +6,10 @@ block title | |||
6 | 6 | ||
7 | block content | 7 | block content |
8 | p | 8 | p |
9 | | #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] received an abuse report for the #{isLocal ? '' : 'remote '}comment " | 9 | | #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] received an abuse report for the #{isLocal ? '' : 'remote '} |
10 | a(href=commentUrl) on video #{videoName} | 10 | a(href=commentUrl) comment on video "#{videoName}" |
11 | | of #{flaggedAccount} | 11 | | of #{flaggedAccount} |
12 | | created on #{commentCreatedAt} | 12 | | created on #{commentCreatedAt} |
13 | 13 | ||
14 | p The reporter, #{reporter}, cited the following reason(s): | 14 | p The reporter, #{reporter}, cited the following reason(s): |
15 | blockquote #{reason} | 15 | blockquote #{reason} |