@component('emails.layouts.html', ['subject' => __('messages.profile_converted_by_admin_subject')]) {{-- Greeting --}}

{{ __('Hello :name,', ['name' => $profile->full_name ?? $profile->name]) }}

{{-- Main message --}} @if ($convertedTo === 'organization')

{!! __('An administrator has converted your profile on :appname from an user type to an organization type.', ['appname' => config('app.name')]) !!}

@if (!empty($manager))

{!! __('The user :fullname (:name) has been assigned as organization manager. To access this organization profile, first log in as :name and then switch to the organization profile.', ['fullname' => e($manager->full_name ?? $manager->name), 'name' => e($manager->name)]) !!}

@else

{{ __('This profile type can now only be accessed by a user who has been made organization coordinator or manager.') }}

@endif @else

{!! __('An administrator has converted your profile on :appname from an organization type to a user type.', ['appname' => config('app.name')]) !!}

{{ __('This profile type can now be accessed directly when logging in. It is no longer needed to access it using another user account who was an organization coordinator or manager.') }}

@endif {{-- Button --}} {{-- Closing --}}

{{ timebank_config('mail.platform_sign_off_signature.' . app()->getLocale()) ?? timebank_config('mail.platform_sign_off_signature.en', 'See you around!') }}

@endcomponent