Skip to content

Commit

Permalink
date in message
Browse files Browse the repository at this point in the history
  • Loading branch information
Saodus committed Dec 16, 2024
1 parent ff86d5c commit c57ff13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ function loadChat(chatId, discussionName, discussionPicture, newOpening = true)
<p class="max-w-[45%] ${isCurrentUser ? 'secondary-background-app rounded-tl-lg' : 'tertiary-background-app rounded-tr-lg'} text-white p-2 rounded-bl-lg rounded-br-lg">
<span class="text-xs text-white block mb-1 font-bold">${message.user.name}</span>
${message.message}
</p>`;
<span class="text-xs text-white block mb-1 font-bold text-right">${prettyDate}</span>
</p>
`;
// Ajout de la poubelle pour les messages de l'utilisateur
if (isCurrentUser) {
Expand Down

0 comments on commit c57ff13

Please sign in to comment.