mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed Asset namespace
This commit is contained in:
parent
46e003ce75
commit
82d6a4e025
|
@ -496,7 +496,7 @@
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if (Asset::checkUploadIsImage($file->get_src()))
|
@if (\App\Models\Asset::checkUploadIsImage($file->get_src()))
|
||||||
<a class='preview' data-placement="top" data-image-url="showfile/{{ $file->id }}" data-container="body" data-toggle="popover" data-placement="top" >{{ $file->filename }}</a>
|
<a class='preview' data-placement="top" data-image-url="showfile/{{ $file->id }}" data-container="body" data-toggle="popover" data-placement="top" >{{ $file->filename }}</a>
|
||||||
@else
|
@else
|
||||||
{{ $file->filename }}
|
{{ $file->filename }}
|
||||||
|
|
Loading…
Reference in a new issue