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

This commit is contained in:
Ivan Nieto Vivanco 2023-05-22 16:24:16 -06:00
parent 13c6a7f89b
commit 6df9a33eab

View file

@ -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