Remove branding in notifications emails - NEW (#25)
* Remove branding in notifications emails * Inlcude files vendor email * noBranding on email notify Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
This commit is contained in:
31
resources/views/vendor/mail/text/message.blade.php
vendored
Normal file
31
resources/views/vendor/mail/text/message.blade.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
@component('mail::layout')
|
||||
{{-- Header --}}
|
||||
@slot('header')
|
||||
@if (!(isset($noBranding) && $noBranding))
|
||||
@component('mail::header', ['url' => config('app.url')])
|
||||
{{ config('app.name') }}
|
||||
@endcomponent
|
||||
@endif
|
||||
@endslot
|
||||
|
||||
{{-- Body --}}
|
||||
{{ $slot }}
|
||||
|
||||
{{-- Subcopy --}}
|
||||
@isset($subcopy)
|
||||
@slot('subcopy')
|
||||
@component('mail::subcopy')
|
||||
{{ $subcopy }}
|
||||
@endcomponent
|
||||
@endslot
|
||||
@endisset
|
||||
|
||||
{{-- Footer --}}
|
||||
@slot('footer')
|
||||
@component('mail::footer')
|
||||
@if (!(isset($noBranding) && $noBranding))
|
||||
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
|
||||
@endif
|
||||
@endcomponent
|
||||
@endslot
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user