From 28e7ca5a84b9c95885471c79fda737cc2c4dda0c Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 8 May 2018 05:39:11 -0700 Subject: [PATCH] Formatting tweaks to email notifications --- resources/views/vendor/mail/html/footer.blade.php | 6 ------ resources/views/vendor/mail/html/message.blade.php | 2 +- resources/views/vendor/mail/markdown/message.blade.php | 2 +- resources/views/vendor/notifications/email.blade.php | 7 +++++++ 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/resources/views/vendor/mail/html/footer.blade.php b/resources/views/vendor/mail/html/footer.blade.php index 46dc4ccb26..c3f9360abd 100644 --- a/resources/views/vendor/mail/html/footer.blade.php +++ b/resources/views/vendor/mail/html/footer.blade.php @@ -4,12 +4,6 @@ {{ Illuminate\Mail\Markdown::parse($slot) }} - - @if ($snipeSettings->privacy_policy_link!='') - {{ trans('admin/settings/general.privacy_policy') }} - @endif - - diff --git a/resources/views/vendor/mail/html/message.blade.php b/resources/views/vendor/mail/html/message.blade.php index 5dfa2eb88e..c78d087451 100644 --- a/resources/views/vendor/mail/html/message.blade.php +++ b/resources/views/vendor/mail/html/message.blade.php @@ -45,7 +45,7 @@ Snipe-IT @endif @if ($snipeSettings->privacy_policy_link!='') -[{{ $snipeSettings->privacy_policy_link }}]({{ trans('admin/settings/general.privacy_policy') }}) +{{ trans('admin/settings/general.privacy_policy') }} @endif @endcomponent diff --git a/resources/views/vendor/mail/markdown/message.blade.php b/resources/views/vendor/mail/markdown/message.blade.php index 09ffe0a59a..895f738821 100644 --- a/resources/views/vendor/mail/markdown/message.blade.php +++ b/resources/views/vendor/mail/markdown/message.blade.php @@ -45,7 +45,7 @@ @endif @if ($snipeSettings->privacy_policy_link!='') -[{{ $snipeSettings->privacy_policy_link }}]({{ trans('admin/settings/general.privacy_policy') }}) +{{ trans('admin/settings/general.privacy_policy') }}ldfkgjg @endif @endcomponent diff --git a/resources/views/vendor/notifications/email.blade.php b/resources/views/vendor/notifications/email.blade.php index 2cad87a73b..f89b65abe0 100644 --- a/resources/views/vendor/notifications/email.blade.php +++ b/resources/views/vendor/notifications/email.blade.php @@ -196,6 +196,13 @@ $style = [ {{ $snipeSettings->site_name }}. All rights reserved.

+ + @if ($snipeSettings->privacy_policy_link!='') +

+ {{ trans('admin/settings/general.privacy_policy') }} +

+ + @endif