From 76be49ac5876a720b727afb38b49b15c4794db98 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 9 Apr 2023 12:22:03 -0600 Subject: [PATCH] Update admin autospam/report email templates, remove image previews --- .../views/emails/admin/new_autospam.blade.php | 14 -------------- resources/views/emails/admin/new_report.blade.php | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/resources/views/emails/admin/new_autospam.blade.php b/resources/views/emails/admin/new_autospam.blade.php index 99c226ad6..776657f61 100644 --- a/resources/views/emails/admin/new_autospam.blade.php +++ b/resources/views/emails/admin/new_autospam.blade.php @@ -13,20 +13,6 @@ Review Autospam Report

Reported Status

-@if( - isset($reported_status['media_attachments']) && - isset($reported_status['pf_type']) && - count($reported_status['media_attachments']) && - in_array($reported_status['pf_type'], ['photo', 'photo:album']) -) -Media preview -@endif @if(isset($reported_status['content']))
{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_status['content'])) }}
@endif diff --git a/resources/views/emails/admin/new_report.blade.php b/resources/views/emails/admin/new_report.blade.php index 3d4d0da5c..4b43c0d2a 100644 --- a/resources/views/emails/admin/new_report.blade.php +++ b/resources/views/emails/admin/new_report.blade.php @@ -11,20 +11,6 @@ View Report

Reported Status

-@if( - isset($reported_status['media_attachments']) && - isset($reported_status['pf_type']) && - count($reported_status['media_attachments']) && - in_array($reported_status['pf_type'], ['photo', 'photo:album']) -) -Media preview -@endif @if(isset($reported_status['content']))
{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_status['content'])) }}
@endif