new_autospam.blade.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <x-mail::message>
  2. # Autospam Detection (#{{ $report['id'] }})
  3. We have detected a potential spam post. The post has been unlisted from public feeds.
  4. **Action is required to restore post visibility**. <br />
  5. Please review this report and handle accordingly.
  6. <x-mail::button :url="$url">
  7. Review Autospam Report
  8. </x-mail::button>
  9. @if($reported_status)
  10. <x-mail::panel>
  11. <p style="font-size: 13px; color: #cccccc; text-align: center; font-weight: bold;margin-bottom: 10px;">Reported Status</p>
  12. <div style="display: flex; align-items: center;gap: 10px;">
  13. @if(isset($reported_status['content']))
  14. <div style="font-size: 12px !important;">{{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_status['content'])) }}</div>
  15. @endif
  16. </div>
  17. <div style="display: flex; align-items: center; justify-content: space-between;margin-top:10px;">
  18. <a style="font-size: 11px !important;font-weight: bold;text-decoration: none;" href="{{ url('/i/web/post/' . $reported_status['id'])}}">
  19. View status
  20. </a>
  21. <p style="font-size: 11px !important;font-weight: bold;">
  22. Posted {{ now()->parse($reported_status['created_at'])->diffForHumans() }}
  23. </p>
  24. </div>
  25. </x-mail::panel>
  26. @endif
  27. @if($reported_account && isset($reported_account['id']))
  28. <x-mail::panel>
  29. <p style="font-size: 13px; color: #cccccc; text-align: center; font-weight: bold;margin-bottom: 10px;">Reported Account</p>
  30. <div style="display: flex; align-items: flex-start;gap: 10px;">
  31. <img
  32. src="{{$reported_account['avatar']}}"
  33. width="50"
  34. height="50"
  35. alt="Avatar"
  36. style="border-radius: 10px;min-width: 50px;flex-grow: 1;"
  37. onerror="this.src='{{url('/storage/avatars/default.jpg')}}';this.onerror=null;" />
  38. <div>
  39. <p style="margin-bottom: 0;">
  40. <a href="{{ url('/i/web/profile/' . $reported_account['id']) }}" style="text-decoration: none;font-weight: bold">{{ $reported_account['username'] }}</a>
  41. </p>
  42. <p style="margin-bottom: 5px;font-size: 10px;opacity: 0.5;">
  43. {{ strip_tags(str_replace(["\n", "\r", "\r\n"], ' ', $reported_account['note'])) }}
  44. </p>
  45. <div style="display: flex; align-items: center; gap: 5px;">
  46. <p style="font-size: 10px;margin-bottom: 0;">{{ $reported_account['statuses_count'] }} posts</p>
  47. <p style="font-size: 10px;margin-bottom: 0;">·</p>
  48. <p style="font-size: 10px;margin-bottom: 0;">{{ $reported_account['followers_count'] }} followers</p>
  49. <p style="font-size: 10px;margin-bottom: 0;">·</p>
  50. <p style="font-size: 10px;margin-bottom: 0;">{{ $reported_account['following_count'] }} following</p>
  51. <p style="font-size: 10px;margin-bottom: 0;">·</p>
  52. <p style="font-size: 10px;margin-bottom: 0;">Joined {{ now()->parse($reported_account['created_at'])->diffForHumans()}}</p>
  53. </div>
  54. </div>
  55. </div>
  56. </x-mail::panel>
  57. @endif
  58. <p style="font-size: 12px;color: #cccccc;text-align: center;">
  59. This is an automated email that is intended for administrators of {{ config('pixelfed.domain.app')}}.<br />
  60. If you received this email by mistake, kindly disregard and delete this email.
  61. </p>
  62. </x-mail::message>