mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Add a condition to check if images should be shown in notification
This commit is contained in:
parent
13c6a7f89b
commit
6df9a33eab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue