2017-10-20 16:52:12 -07:00
|
|
|
@component('mail::layout')
|
|
|
|
{{-- Header --}}
|
|
|
|
@slot('header')
|
|
|
|
@component('mail::header', ['url' => config('app.url')])
|
2018-03-02 18:01:20 -08:00
|
|
|
@if($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
|
2017-10-20 16:52:12 -07:00
|
|
|
@endcomponent
|
|
|
|
@endslot
|
|
|
|
|
|
|
|
{{-- Body --}}
|
|
|
|
{{ $slot }}
|
|
|
|
|
|
|
|
{{-- Subcopy --}}
|
|
|
|
@isset($subcopy)
|
|
|
|
@slot('subcopy')
|
|
|
|
@component('mail::subcopy')
|
|
|
|
{{ $subcopy }}
|
|
|
|
@endcomponent
|
|
|
|
@endslot
|
|
|
|
@endisset
|
|
|
|
|
|
|
|
{{-- Footer --}}
|
|
|
|
@slot('footer')
|
|
|
|
@component('mail::footer')
|
2018-03-02 18:01:20 -08:00
|
|
|
@if($snipeSettings::setupCompleted())
|
|
|
|
© {{ date('Y') }} {{ $snipeSettings->site_name }}. All rights reserved.
|
|
|
|
@else
|
|
|
|
© {{ date('Y') }} Snipe-it. All rights reserved.
|
|
|
|
@endif
|
2017-10-20 16:52:12 -07:00
|
|
|
@endcomponent
|
|
|
|
@endslot
|
|
|
|
@endcomponent
|