From 4e9bbc6665b53671ceaac77bf9a4cd98a1a100e8 Mon Sep 17 00:00:00 2001 From: Sergey Panarin Date: Sat, 10 Aug 2024 11:46:46 +0200 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/chats/chats_list.blade.php | 44 ++++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/resources/views/chats/chats_list.blade.php b/resources/views/chats/chats_list.blade.php index 72cc9ad..7887c3a 100644 --- a/resources/views/chats/chats_list.blade.php +++ b/resources/views/chats/chats_list.blade.php @@ -1,31 +1,31 @@ -@if ($chats->count()) - @csrf +@csrf - @if($admin_chat) -
- - @include('svg.logo_icon') -
-
- Администратор сайта -
-
- {{ $admin_chat->last_message->text }} -
+@if($admin_chat) +
+ + @include('svg.logo_icon') +
+
+ Администратор сайта
-
- -
-
{{ date(' H:i, d.m.Y', strtotime($admin_chat->created_at)) }}
-
- @if($admin_chat->admin_chat_unread_messages_count > 0) -
{{ $admin_chat->admin_chat_unread_messages_count }}
- @endif +
+ {{ $admin_chat->last_message->text }}
+ + +
+
{{ date(' H:i, d.m.Y', strtotime($admin_chat->created_at)) }}
+
+ @if($admin_chat->admin_chat_unread_messages_count > 0) +
{{ $admin_chat->admin_chat_unread_messages_count }}
+ @endif +
- @endif +
+@endif +@if ($chats->count()) @foreach($chats as $chat)