complete story 2.4 with qa test and added a feature disallowing admin from deactivating his own account
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
@component('mail::message')
|
||||
@if($locale === 'ar')
|
||||
<div dir="rtl" style="text-align: right;">
|
||||
# {{ __('emails.password_reset_by_admin_title', [], $locale) }}
|
||||
|
||||
{{ __('emails.password_reset_by_admin_greeting', ['name' => $user->full_name ?? $user->company_name], $locale) }}
|
||||
|
||||
{{ __('emails.password_reset_by_admin_body', [], $locale) }}
|
||||
|
||||
**{{ __('emails.your_new_password', [], $locale) }}:** `{{ $newPassword }}`
|
||||
|
||||
{{ __('emails.password_reset_by_admin_note', [], $locale) }}
|
||||
|
||||
@component('mail::button', ['url' => route('login')])
|
||||
{{ __('emails.login_now', [], $locale) }}
|
||||
@endcomponent
|
||||
|
||||
{{ __('emails.regards', [], $locale) }}<br>
|
||||
{{ config('app.name') }}
|
||||
</div>
|
||||
@else
|
||||
# {{ __('emails.password_reset_by_admin_title', [], $locale) }}
|
||||
|
||||
{{ __('emails.password_reset_by_admin_greeting', ['name' => $user->full_name ?? $user->company_name], $locale) }}
|
||||
|
||||
{{ __('emails.password_reset_by_admin_body', [], $locale) }}
|
||||
|
||||
**{{ __('emails.your_new_password', [], $locale) }}:** `{{ $newPassword }}`
|
||||
|
||||
{{ __('emails.password_reset_by_admin_note', [], $locale) }}
|
||||
|
||||
@component('mail::button', ['url' => route('login')])
|
||||
{{ __('emails.login_now', [], $locale) }}
|
||||
@endcomponent
|
||||
|
||||
{{ __('emails.regards', [], $locale) }}<br>
|
||||
{{ config('app.name') }}
|
||||
@endif
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user