mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update admin autospam/report email templates, remove image previews
This commit is contained in:
parent
dca48fd84b
commit
76be49ac58
2 changed files with 0 additions and 28 deletions
|
@ -13,20 +13,6 @@ Review Autospam Report
|
|||
<x-mail::panel>
|
||||
<p style="font-size: 13px; color: #cccccc; text-align: center; font-weight: bold;margin-bottom: 10px;">Reported Status</p>
|
||||
<div style="display: flex; align-items: center;gap: 10px;">
|
||||
@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'])
|
||||
)
|
||||
<img
|
||||
src="{{$reported_status['media_attachments'][0]['url']}}"
|
||||
width="100"
|
||||
height="100"
|
||||
alt="Media preview"
|
||||
style="object-fit: cover; border: 1px solid #cccccc; border-radius: 10px; margin-bottom: 10px;"
|
||||
onerror="this.src='{{url('/storage/no-preview.png')}}';this.onerror=null;" />
|
||||
@endif
|
||||
@if(isset($reported_status['content']))
|
||||
<div style="font-size: 12px !important;">{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_status['content'])) }}</div>
|
||||
@endif
|
||||
|
|
|
@ -11,20 +11,6 @@ View Report
|
|||
<x-mail::panel>
|
||||
<p style="font-size: 13px; color: #cccccc; text-align: center; font-weight: bold;margin-bottom: 10px;">Reported Status</p>
|
||||
<div style="display: flex; align-items: center;gap: 10px;">
|
||||
@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'])
|
||||
)
|
||||
<img
|
||||
src="{{$reported_status['media_attachments'][0]['url']}}"
|
||||
width="100"
|
||||
height="100"
|
||||
alt="Media preview"
|
||||
style="object-fit: cover; border: 1px solid #cccccc; border-radius: 10px; margin-bottom: 10px;"
|
||||
onerror="this.src='{{url('/storage/no-preview.png')}}';this.onerror=null;" />
|
||||
@endif
|
||||
@if(isset($reported_status['content']))
|
||||
<div style="font-size: 12px !important;">{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_status['content'])) }}</div>
|
||||
@endif
|
||||
|
|
Loading…
Reference in a new issue