From 2eda7fce8c091b2d25ab7c4333d557541f74f199 Mon Sep 17 00:00:00 2001 From: Davide Bellini Date: Mon, 7 Sep 2020 22:57:43 +0200 Subject: [PATCH] Email settings: prevent show empty --- resources/views/utilities/email.blade.php | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/resources/views/utilities/email.blade.php b/resources/views/utilities/email.blade.php index e6c8a9e049..df4727127c 100644 --- a/resources/views/utilities/email.blade.php +++ b/resources/views/utilities/email.blade.php @@ -36,15 +36,27 @@ @endif {{ __('Default From Address') }} - {{ config('mail.from.address') }} + + @if (config('mail.from.address')) + {{ config('mail.from.address') }} + @endif + {{ __('Default From Name') }} - {{ config('mail.from.name') }} + + @if (config('mail.from.name')) + {{ config('mail.from.name') }} + @endif + {{ __('Markdown theme') }} - {{ config('mail.markdown.theme') }} + + @if (config('mail.markdown.theme')) + {{ config('mail.markdown.theme') }} + @endif + {{ __('Markdown paths') }}