Merge branch 'develop' into trunk

This commit is contained in:
Vincent BRIDIER 2022-06-20 14:03:36 +02:00
commit 77d239f2f0
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -74,7 +74,7 @@
@if($model->type->equals(FileType::stringlink()))
<a href="{{ $model->uri }}" target="_blank">{{ pathinfo($model->uri, PATHINFO_BASENAME) }}</a>
@else
<a href="{{ sprintf('/storage/%s', $model->file) }}" target="_blank">{{ pathinfo($model->file, PATHINFO_BASENAME) }}</a>
<a href="{{ asset($model->file) }}" target="_blank">{{ pathinfo($model->file, PATHINFO_BASENAME) }}</a>
@endif
</td>