Snapshot of main at 9f39a6e1e (2026-11-02)
This commit is contained in:
commit
6ccf1792d7
2580 files changed
+1040202
No files matched your search
@@ -0,0 +1,56 @@
|
||||
@component('emails.layouts.html', ['subject' => __('messages.profile_converted_by_admin_subject')])
|
||||
|
||||
{{-- Greeting --}}
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; line-height: 1.6;">
|
||||
{{ __('Hello :name,', ['name' => $profile->full_name ?? $profile->name]) }}
|
||||
</p>
|
||||
|
||||
{{-- Main message --}}
|
||||
@if ($convertedTo === 'organization')
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; line-height: 1.6;">
|
||||
{!! __('An administrator has converted your profile on <strong>:appname</strong> from an user type to an organization type.', ['appname' => config('app.name')]) !!}
|
||||
</p>
|
||||
@if (!empty($manager))
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; line-height: 1.6;">
|
||||
{!! __('The user <strong>:fullname</strong> (:name) has been assigned as organization manager. To access this organization profile, first log in as <strong>:name</strong> and then switch to the organization profile.', ['fullname' => e($manager->full_name ?? $manager->name), 'name' => e($manager->name)]) !!}
|
||||
</p>
|
||||
@else
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 30px 0; line-height: 1.6;">
|
||||
{{ __('This profile type can now only be accessed by a user who has been made organization coordinator or manager.') }}
|
||||
</p>
|
||||
@endif
|
||||
@else
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; line-height: 1.6;">
|
||||
{!! __('An administrator has converted your profile on <strong>:appname</strong> from an organization type to a user type.', ['appname' => config('app.name')]) !!}
|
||||
</p>
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 30px 0; line-height: 1.6;">
|
||||
{{ __('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.') }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
{{-- Button --}}
|
||||
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="center" style="margin: 30px auto;">
|
||||
<tr>
|
||||
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
|
||||
<!--[if mso]>
|
||||
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $buttonUrl }}" style="height:44px;v-text-anchor:middle;width:220px;" arcsize="14%" stroke="f" fillcolor="{{ theme_color('brand') }}">
|
||||
<w:anchorlock/>
|
||||
<center>
|
||||
<![endif]-->
|
||||
<a href="{{ $buttonUrl }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: block; font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; line-height: 44px; text-align: center; text-decoration: none; width: 220px; -webkit-text-size-adjust: none; mso-hide: all;">
|
||||
{{ __('Go to your profile') }}
|
||||
</a>
|
||||
<!--[if mso]>
|
||||
</center>
|
||||
</v:roundrect>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{{-- Closing --}}
|
||||
<p style="font-family: {{ theme_font('font_family_body') }}, Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 30px 0 0 0; line-height: 1.6;">
|
||||
{{ timebank_config('mail.platform_sign_off_signature.' . app()->getLocale()) ?? timebank_config('mail.platform_sign_off_signature.en', 'See you around!') }}
|
||||
</p>
|
||||
|
||||
@endcomponent
|
||||
Reference in new issue
Block a user