2017-10-20 16:52:12 -07:00
|
|
|
@component('mail::layout')
|
2018-05-08 05:27:03 -07:00
|
|
|
{{-- Header --}}
|
|
|
|
@slot('header')
|
|
|
|
@component('mail::header', ['url' => config('app.url')])
|
2020-11-10 01:48:18 -08:00
|
|
|
@if (isset($snipeSettings) && ($snipeSettings->show_images_in_email=='1' ) && ($snipeSettings::setupCompleted()))
|
2018-03-25 13:46:57 -07:00
|
|
|
|
2018-05-08 05:27:03 -07:00
|
|
|
@if ($snipeSettings->brand == '3')
|
2020-11-25 00:05:02 -08:00
|
|
|
|
|
|
|
@if ($snipeSettings->email_logo!='')
|
|
|
|
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
|
|
|
@elseif ($snipeSettings->logo!='')
|
|
|
|
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->logo)) }}">
|
2018-05-08 05:27:03 -07:00
|
|
|
@endif
|
|
|
|
{{ $snipeSettings->site_name }}
|
2020-11-25 00:05:02 -08:00
|
|
|
<br><br>
|
2017-10-20 16:52:12 -07:00
|
|
|
|
2018-05-08 05:27:03 -07:00
|
|
|
@elseif ($snipeSettings->brand == '2')
|
2020-11-25 00:05:02 -08:00
|
|
|
@if ($snipeSettings->email_logo!='')
|
|
|
|
|
|
|
|
<img style="max-width: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
|
|
|
@elseif ($snipeSettings->logo!='')
|
|
|
|
<img style="max-width: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->logo)) }}">
|
2018-05-08 05:27:03 -07:00
|
|
|
@endif
|
2020-11-25 00:05:02 -08:00
|
|
|
|
2018-05-08 05:27:03 -07:00
|
|
|
@else
|
|
|
|
{{ $snipeSettings->site_name }}
|
|
|
|
@endif
|
2020-11-25 00:05:02 -08:00
|
|
|
|
2018-05-08 05:27:03 -07:00
|
|
|
@else
|
|
|
|
Snipe-IT
|
|
|
|
@endif
|
|
|
|
@endcomponent
|
|
|
|
@endslot
|
2017-10-20 16:52:12 -07:00
|
|
|
|
2018-05-08 05:27:03 -07:00
|
|
|
{{-- Body --}}
|
|
|
|
{{ $slot }}
|
|
|
|
|
|
|
|
{{-- Subcopy --}}
|
|
|
|
@isset($subcopy)
|
|
|
|
@slot('subcopy')
|
|
|
|
@component('mail::subcopy')
|
|
|
|
{{ $subcopy }}
|
|
|
|
@endcomponent
|
|
|
|
@endslot
|
|
|
|
@endisset
|
2017-10-20 16:52:12 -07:00
|
|
|
|
2018-05-08 00:50:13 -07:00
|
|
|
{{-- Footer --}}
|
|
|
|
@slot('footer')
|
|
|
|
@component('mail::footer')
|
|
|
|
@if($snipeSettings::setupCompleted())
|
|
|
|
© {{ date('Y') }} {{ $snipeSettings->site_name }}. All rights reserved.
|
|
|
|
@else
|
2020-11-25 00:05:02 -08:00
|
|
|
© {{ date('Y') }} Snipe-IT. All rights reserved.
|
2018-05-08 00:50:13 -07:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if ($snipeSettings->privacy_policy_link!='')
|
2018-05-08 05:39:11 -07:00
|
|
|
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
|
2018-05-08 00:50:13 -07:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@endcomponent
|
2018-05-08 05:27:03 -07:00
|
|
|
@endslot
|
2017-10-20 16:52:12 -07:00
|
|
|
@endcomponent
|