mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixes issue where asset images were showing up in checkin emails
This commit is contained in:
parent
a011b07d99
commit
1156eea8af
|
@ -4,7 +4,7 @@
|
||||||
{{ trans('mail.the_following_item') }}
|
{{ trans('mail.the_following_item') }}
|
||||||
|
|
||||||
@if ($item->getImageUrl())
|
@if ($item->getImageUrl())
|
||||||
<center><img src="{{ $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>
|
<center><img src="{{ app\Models\Setting::getSettings()->show_images_in_email =='1' && $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@component('mail::table')
|
@component('mail::table')
|
||||||
|
|
Loading…
Reference in a new issue