From 405aaaea2e742463531af28c12bcc69a7c2cebfb Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Tue, 22 Feb 2022 17:04:26 +0100 Subject: [PATCH] open non image file in messages --- resources/views/ticket/show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/ticket/show.blade.php b/resources/views/ticket/show.blade.php index 5f80b93..2351233 100644 --- a/resources/views/ticket/show.blade.php +++ b/resources/views/ticket/show.blade.php @@ -119,7 +119,7 @@
{!! Utils::plainToHtml($message->message) !!} @if ($message->file !== null) -
Ouvrir la pièce jointe
+
file))data-fslightbox="gallery" @endif href="{{ asset($message->file) }}" target="_blank">Ouvrir la pièce jointe
@endif

{!! __('Créé le :date par :userName', [ 'date' => \Carbon\Carbon::parse($message->created_at)->format('d/m/Y à H:i'),