mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 09:04:09 -08:00
f5dda06c55
* Added saml custom setting retrieveParametersFromServer to enable fixing SLO issues with Azure AD (#9187) * [FIX] Lite test email won't use the mail component (#9092) * [FIX] Lite test email won't use the mail component * Revert "[FIX] Lite test email won't use the mail component" This reverts commit6dab9aa1a8
. * Fix check for snipeSettings * Remove random text from message template * Revert "Fix check for snipeSettings" This reverts commit887dcc7bbc
. * Fix test notification with setupCompleted Co-authored-by: johnson-yi <63399474+johnson-yi@users.noreply.github.com> Co-authored-by: Oliver Walerys <owalerys@users.noreply.github.com>
54 lines
1.2 KiB
PHP
54 lines
1.2 KiB
PHP
@component('mail::layout')
|
|
{{-- Header --}}
|
|
@slot('header')
|
|
@component('mail::header', ['url' => config('app.url')])
|
|
@if (($snipeSettings->show_images_in_email=='1' ) && ($snipeSettings::setupCompleted()))
|
|
|
|
@if ($snipeSettings->brand == '3')
|
|
@if ($snipeSettings->logo!='')
|
|
<img class="navbar-brand-img logo" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
|
|
@endif
|
|
{{ $snipeSettings->site_name }}
|
|
|
|
@elseif ($snipeSettings->brand == '2')
|
|
@if ($snipeSettings->logo!='')
|
|
<img class="navbar-brand-img logo" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
|
|
@endif
|
|
@else
|
|
{{ $snipeSettings->site_name }}
|
|
@endif
|
|
@else
|
|
Snipe-IT
|
|
@endif
|
|
@endcomponent
|
|
@endslot
|
|
|
|
{{-- Body --}}
|
|
{{ $slot }}
|
|
|
|
{{-- Subcopy --}}
|
|
@isset($subcopy)
|
|
@slot('subcopy')
|
|
@component('mail::subcopy')
|
|
{{ $subcopy }}
|
|
@endcomponent
|
|
@endslot
|
|
@endisset
|
|
|
|
{{-- Footer --}}
|
|
@slot('footer')
|
|
@component('mail::footer')
|
|
@if($snipeSettings::setupCompleted())
|
|
© {{ date('Y') }} {{ $snipeSettings->site_name }}. All rights reserved.
|
|
@else
|
|
© {{ date('Y') }} Snipe-it. All rights reserved.
|
|
@endif
|
|
|
|
@if ($snipeSettings->privacy_policy_link!='')
|
|
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
|
|
@endif
|
|
|
|
@endcomponent
|
|
@endslot
|
|
@endcomponent
|