fix: VueFileManager default title in mails, ShareCreate / ShareEdit opening via CopyInput

This commit is contained in:
Milos Holba
2021-02-25 18:11:20 +01:00
parent 725a34b7d0
commit 7a963cf5b3
26 changed files with 522 additions and 22 deletions

View File

@@ -0,0 +1,34 @@
<?php
use App\Setting;
$app_name = strval(Setting::where('name', 'app_title')->pluck('value')[0]);
?>
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ $app_name ? $app_name : 'VueFileManager' }}
@endcomponent
@endslot
{{-- Body --}}
{{ $slot }}
{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ $app_name ? $app_name : 'VueFileManager' }}. @lang('All rights reserved.')
@endcomponent
@endslot
@endcomponent