mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-19 03:23:16 +00:00
73 lines
2.9 KiB
PHP
73 lines
2.9 KiB
PHP
<x-mail::message>
|
|
# Autospam Detection (#{{ $report['id'] }})
|
|
|
|
We have detected a potential spam post. The post has been unlisted from public feeds.
|
|
**Action is required to restore post visibility**. <br />
|
|
Please review this report and handle accordingly.
|
|
|
|
<x-mail::button :url="$url">
|
|
Review Autospam Report
|
|
</x-mail::button>
|
|
|
|
@if($reported_status)
|
|
<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['content']))
|
|
<div style="font-size: 12px !important;">{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_status['content'])) }}</div>
|
|
@endif
|
|
</div>
|
|
<div style="display: flex; align-items: center; justify-content: space-between;margin-top:10px;">
|
|
<a style="font-size: 11px !important;font-weight: bold;text-decoration: none;" href="{{ url('/i/web/post/' . $reported_status['id'])}}">
|
|
View status
|
|
</a>
|
|
<p style="font-size: 11px !important;font-weight: bold;">
|
|
Posted {{ now()->parse($reported_status['created_at'])->diffForHumans() }}
|
|
</p>
|
|
</div>
|
|
</x-mail::panel>
|
|
@endif
|
|
|
|
@if($reported_account && isset($reported_account['id']))
|
|
<x-mail::panel>
|
|
<p style="font-size: 13px; color: #cccccc; text-align: center; font-weight: bold;margin-bottom: 10px;">Reported Account</p>
|
|
|
|
<div style="display: flex; align-items: flex-start;gap: 10px;">
|
|
|
|
<img
|
|
src="{{$reported_account['avatar']}}"
|
|
width="50"
|
|
height="50"
|
|
alt="Avatar"
|
|
style="border-radius: 10px;min-width: 50px;flex-grow: 1;"
|
|
onerror="this.src='{{url('/storage/avatars/default.jpg')}}';this.onerror=null;" />
|
|
<div>
|
|
|
|
<p style="margin-bottom: 0;">
|
|
<a href="{{ url('/i/web/profile/' . $reported_account['id']) }}" style="text-decoration: none;font-weight: bold">{{ $reported_account['username'] }}</a>
|
|
</p>
|
|
|
|
<p style="margin-bottom: 5px;font-size: 10px;opacity: 0.5;">
|
|
{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_account['note'])) }}
|
|
</p>
|
|
|
|
<div style="display: flex; align-items: center; gap: 5px;">
|
|
<p style="font-size: 10px;margin-bottom: 0;">{{ $reported_account['statuses_count'] }} posts</p>
|
|
<p style="font-size: 10px;margin-bottom: 0;">·</p>
|
|
<p style="font-size: 10px;margin-bottom: 0;">{{ $reported_account['followers_count'] }} followers</p>
|
|
<p style="font-size: 10px;margin-bottom: 0;">·</p>
|
|
<p style="font-size: 10px;margin-bottom: 0;">{{ $reported_account['following_count'] }} following</p>
|
|
<p style="font-size: 10px;margin-bottom: 0;">·</p>
|
|
<p style="font-size: 10px;margin-bottom: 0;">Joined {{ now()->parse($reported_account['created_at'])->diffForHumans()}}</p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</x-mail::panel>
|
|
@endif
|
|
|
|
<p style="font-size: 12px;color: #cccccc;text-align: center;">
|
|
This is an automated email that is intended for administrators of {{ config('pixelfed.domain.app')}}.<br />
|
|
If you received this email by mistake, kindly disregard and delete this email.
|
|
</p>
|
|
</x-mail::message>
|