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:
Chirag
2022-11-09 15:42:06 +05:30
committed by GitHub
parent 4873dfe696
commit 0292dc0ec6
19 changed files with 492 additions and 1 deletions

View File

@@ -0,0 +1 @@
{{ $slot }}: {{ $url }}

View File

@@ -0,0 +1 @@
{{ $slot }}

View File

@@ -0,0 +1 @@
[{{ $slot }}]({{ $url }})

View File

@@ -0,0 +1,9 @@
{!! strip_tags($header) !!}
{!! strip_tags($slot) !!}
@isset($subcopy)
{!! strip_tags($subcopy) !!}
@endisset
{!! strip_tags($footer) !!}

View 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

View File

@@ -0,0 +1 @@
{{ $slot }}

View File

@@ -0,0 +1 @@
{{ $slot }}

View File

@@ -0,0 +1 @@
{{ $slot }}