Fix ticket show

This commit is contained in:
nicolas.demangeat 2024-02-05 14:40:20 +00:00 • committed by Vincent BRIDIER
parent af97d31fc3
commit 08a92a1d97

View file

@ -176,7 +176,7 @@
@if ($message->file !== null)
<br><a @if(\App\Lib\Helpers\ToolboxHelper::isImageFile($message->file))data-fslightbox="gallery" @endif href="{{ asset($message->file) }}" target="_blank">Ouvrir la pièce jointe</a><br>
@endif<br><br>
<small class="text-bg-dark fw-bold">
<small class="@if($message->user_id === Auth::user()->id)text-bg-dark @else text-body-secondary @endif fw-bold">
{!! __('Créé le :date par <b>:userName</b>', [
'date' => \Carbon\Carbon::parse($message->created_at)->format('d/m/Y à H:i'),
'userName' => $message->user ? $message->user->name : __('Utilisateur supprimé')