Files
Ronald Huynen 2547717edb Initial commit
2026-03-23 21:37:59 +01:00

141 lines
8.0 KiB
PHP

@component('emails.layouts.html', ['subject' => __('Your profile has been deleted')])
{{-- Greeting --}}
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 15px 0; padding: 0; line-height: 1.5;">
{{ __('Hello :name,', ['name' => $full_name ?? $name]) }}
</p>
{{-- Main message --}}
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
{!! __('Your :appname user profile has been deleted.', ['appname' => config('app.name')]) !!}
</p>
{{-- Deletion Reason (only shown for auto-deletions) --}}
@if(isset($autoDeleted) && $autoDeleted)
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 10px 0; padding: 0; line-height: 1.5;">
<strong>{{ __('Reason for deletion:') }}</strong>
</p>
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
{{ __('Your profile was automatically deleted due to prolonged inactivity.') }}
@if(isset($daysNotLoggedIn) && isset($totalDaysToDelete))
{{ __('Profiles are deleted after :days days of no login activity.', ['days' => round($totalDaysToDelete)]) }}
{{ __('Your last login was more than :days days ago.', ['days' => round($daysNotLoggedIn)]) }}
@endif
</p>
@endif
{{-- Account Details Table --}}
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 10px 0; padding: 0; line-height: 1.5;">
<strong>{{ __('Account Details:') }}</strong>
</p>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0; border-collapse: collapse;">
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
<strong>{{ __('Username:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
{{ $name }}
</td>
</tr>
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
<strong>{{ __('Full name:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
{{ $full_name }}
</td>
</tr>
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
<strong>{{ __('Email:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
{{ $deletedMail }}
</td>
</tr>
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }};">
<strong>{{ __('Deleted at:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }};">
{{ $time }}
</td>
</tr>
</table>
{{-- Balance handling information --}}
@if(isset($totalBalance) && $totalBalance != 0)
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 20px 0 10px 0; padding: 0; line-height: 1.5;">
<strong>{{ __('Balance handling:') }}</strong>
</p>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0; border-collapse: collapse;">
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
<strong>{{ __('Total balance:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
{{ tbFormat($totalBalance) }}
</td>
</tr>
@if($balanceHandlingOption === 'donate' && isset($donationOrganizationName))
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
<strong>{{ __('Action:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
{{ __('Donated to organization') }}
</td>
</tr>
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
<strong>{{ __('Organization:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }}; border-bottom: 1px solid #e5e7eb;">
{{ $donationOrganizationName }}
</td>
</tr>
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }};">
<strong>{{ __('Account:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }};">
{{ __('messages.' . $donationAccountName . '_account') }}
</td>
</tr>
@else
<tr>
<td width="35%" style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }};">
<strong>{{ __('Action:') }}</strong>
</td>
<td style="padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.primary') }};">
{{ __('Balance deleted') }}
</td>
</tr>
@endif
</table>
@endif
{{-- Deletion information --}}
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
{{ __('All your accounts, personal profile data, photos, or other uploaded files and messages will be permanently deleted. Historical data such as transaction descriptions and messages you shared with other :appname users will be anonymized. We did not share any of your data with third parties.', ['appname' => config('app.name')]) }}
</p>
{{-- Closing message --}}
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 30px 0; padding: 0; line-height: 1.5;">
{!! __('On behalf of the :appname Team, we hope to see you another time!', ['appname' => config('app.name')]) !!}
</p>
{{-- Footer note --}}
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 20px 0 0 0; border-collapse: collapse;">
<tr>
<td style="padding: 15px; background-color: #f9fafb; border-top: 1px solid #e5e7eb; font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #6b7280; line-height: 1.5;">
{{ __('This is an automated notification about your account deletion. This action will become permanent after :days days.', ['days' => $gracePeriodDays ?? 30]) }}
</td>
</tr>
</table>
@endcomponent