A free open source IT asset/license management system
Checks if settings let URL's be shown in email notifications
Ivan Nieto Vivanco7cc8b398630f
diff --git a/resources/views/vendor/mail/html/message.blade.php b/resources/views/vendor/mail/html/message.blade.phpindex 3c03ea27e5..93d3e7ba2d 100644--- a/resources/views/vendor/mail/html/message.blade.php+++ b/resources/views/vendor/mail/html/message.blade.php@@ -1,13 +1,18 @@@component('mail::layout'){{-- Header --}}@slot('header')-@component('mail::header', ['url' => config('app.url')]){{-- Check that the $snipeSettings variable is set, images are set to be shown, and setup is complete --}}@if (isset($snipeSettings) && ($snipeSettings::setupCompleted()))+ @if ($snipeSettings->show_url_in_email=='1' )+ @component('mail::header', ['url' => config('app.url')])+ @else+ @component('mail::header', ['url' => ''])+ @endif+{{-- Show images in email! --}}@if (($snipeSettings->show_images_in_email=='1' ) && (($snipeSettings->brand == '3') || ($snipeSettings->brand == '2')))