From 2d78dadf1589db9c9b2d48de6159adce2d74148a Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Mon, 19 Feb 2024 14:30:28 +0000 Subject: [PATCH] Drop Laravel 6 mail view --- resources/views/utilities/email.blade.php | 47 +++++++++++++++++-- .../utilities/partials/email-l6.blade.php | 40 ---------------- .../utilities/partials/email-l7.blade.php | 44 ----------------- 3 files changed, 43 insertions(+), 88 deletions(-) delete mode 100644 resources/views/utilities/partials/email-l6.blade.php delete mode 100644 resources/views/utilities/partials/email-l7.blade.php diff --git a/resources/views/utilities/email.blade.php b/resources/views/utilities/email.blade.php index 0655b38046..8b5e02ce8a 100644 --- a/resources/views/utilities/email.blade.php +++ b/resources/views/utilities/email.blade.php @@ -29,10 +29,49 @@

{!! __('statamic::messages.email_utility_configuration_description', ['path' => config_path('mail.php')]) !!}

- @if (config('mail.mailers')) - @include('statamic::utilities.partials.email-l7') - @else - @include('statamic::utilities.partials.email-l6') + + + + + @if (config('mail.default') == 'smtp') + + + + + + + + + + + + + + + + + + + + + @endif + @if (config('mail.default') == 'sendmail') + + + + @endif diff --git a/resources/views/utilities/partials/email-l6.blade.php b/resources/views/utilities/partials/email-l6.blade.php deleted file mode 100644 index e03b6ef10c..0000000000 --- a/resources/views/utilities/partials/email-l6.blade.php +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/resources/views/utilities/partials/email-l7.blade.php b/resources/views/utilities/partials/email-l7.blade.php deleted file mode 100644 index 7c6f611cfb..0000000000 --- a/resources/views/utilities/partials/email-l7.blade.php +++ /dev/null @@ -1,44 +0,0 @@ - - - - -@if (config('mail.default') == 'smtp') - - - - - - - - - - - - - - - - - - - - -@endif -@if (config('mail.default') == 'sendmail') - - - - -@endif
{{ __('Default Mailer') }}{{ config('mail.default') }}
{{ __('Host') }}{{ config('mail.mailers.smtp.host') }}
{{ __('Port') }}{{ config('mail.mailers.smtp.port') }}
{{ __('Encryption') }} + @if (config('mail.mailers.smtp.encryption')) + {{ config('mail.mailers.smtp.encryption') }} + @endif +
{{ __('Username') }} + @if (config('mail.mailers.smtp.username')) + {{ config('mail.mailers.smtp.username') }} + @endif +
{{ __('Password') }} + @if (config('mail.mailers.smtp.password')) + {{ config('mail.mailers.smtp.password') }} + @endif +
{{ __('Sendmail') }}{{ config('mail.mailers.sendmail.path') }}
{{ __('Default From Address') }}
{{ __('Driver') }}{{ config('mail.driver') }}
{{ __('Host') }}{{ config('mail.host') }}
{{ __('Port') }}{{ config('mail.port') }}
{{ __('Encryption') }} - @if (config('mail.encryption')) - {{ config('mail.encryption') }} - @endif -
{{ __('Username') }} - @if (config('mail.username')) - {{ config('mail.username') }} - @endif -
{{ __('Password') }} - @if (config('mail.password')) - {{ config('mail.password') }} - @endif -
{{ __('Sendmail') }}{{ config('mail.sendmail') }}
{{ __('Default Mailer') }}{{ config('mail.default') }}
{{ __('Host') }}{{ config('mail.mailers.smtp.host') }}
{{ __('Port') }}{{ config('mail.mailers.smtp.port') }}
{{ __('Encryption') }} - @if (config('mail.mailers.smtp.encryption')) - {{ config('mail.mailers.smtp.encryption') }} - @endif -
{{ __('Username') }} - @if (config('mail.mailers.smtp.username')) - {{ config('mail.mailers.smtp.username') }} - @endif -
{{ __('Password') }} - @if (config('mail.mailers.smtp.password')) - {{ config('mail.mailers.smtp.password') }} - @endif -
{{ __('Sendmail') }}{{ config('mail.mailers.sendmail.path') }}