From 2aa0d9b3b3c236c84a060ee021bdce7bd260084e Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sat, 11 Oct 2025 15:57:14 +0200 Subject: [PATCH] Update comment deletion with notification --- .../views/admin/comments/index.blade.php | 142 ++++++++++++++++-- 1 file changed, 133 insertions(+), 9 deletions(-) diff --git a/resources/views/admin/comments/index.blade.php b/resources/views/admin/comments/index.blade.php index 8e4837a54..2ec5373d9 100644 --- a/resources/views/admin/comments/index.blade.php +++ b/resources/views/admin/comments/index.blade.php @@ -2,6 +2,31 @@ @section('content')
+ + @if(session('success')) +
+
+ +

{{ session('success') }}

+
+ +
+ @endif + + @if(session('error')) +
+
+ +

{{ session('error') }}

+
+ +
+ @endif +
@@ -95,15 +120,12 @@
{{ $comment->created_at ? $comment->created_at->format('H:i:s') : '' }}
-
- @csrf - -
+ @empty @@ -124,6 +146,44 @@
+ + + @push('styles') @endpush + +@push('scripts') + +@endpush @endsection