+ subject: `New video abuse report from ${parameters.reporter}`,
+ locals: {
+ videoUrl,
+ videoAbuseUrl,
+ videoCreatedAt: new Date(parameters.videoAbuseInstance.Video.createdAt).toLocaleString(),
+ videoPublishedAt: new Date(parameters.videoAbuseInstance.Video.publishedAt).toLocaleString(),
+ videoAbuse: parameters.videoAbuse,
+ reporter: parameters.reporter,
+ action: {
+ text: 'View report #' + parameters.videoAbuse.id,
+ url: videoAbuseUrl
+ }
+ }