Skip to content

A free open source IT asset/license management system

Add a condition to check if images should be shown in notification

Ivan Nieto Vivanco6df9a33eab5e
diff --git a/resources/views/notifications/markdown/checkin-accessory.blade.php b/resources/views/notifications/markdown/checkin-accessory.blade.php
index cf1536518b..98a49bf7e2 100644
--- a/resources/views/notifications/markdown/checkin-accessory.blade.php
+++ b/resources/views/notifications/markdown/checkin-accessory.blade.php
@@ -3,7 +3,7 @@
{{ trans('mail.the_following_item') }}
-@if ($item->getImageUrl())
+@if (($snipeSettings->show_images_in_email =='1') && $item->getImageUrl())
<center><img src="{{ $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>
@endif