Merge pull request #13070 from inietov/fixes/accessory_image_shown_when_disabled

Fixed #12947 Accessory image in checkin email when Show images in emails is disabled
This commit is contained in:
snipe 2023-05-22 15:30:14 -07:00 committed by GitHub
commit 0c7acd6a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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