From 35c2368ae2e7c3e02670ed6896edf149ecbd5d77 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Fri, 3 May 2024 00:01:39 +0500 Subject: [PATCH] In the admin panel in the feedback section I added a date. --- .../resources/views/admin/projects/feedbacks/index.blade.php | 4 ++++ .../views/admin/projects/feedbacks/project.blade.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/application/resources/views/admin/projects/feedbacks/index.blade.php b/app/application/resources/views/admin/projects/feedbacks/index.blade.php index 41a62d2..366fd74 100644 --- a/app/application/resources/views/admin/projects/feedbacks/index.blade.php +++ b/app/application/resources/views/admin/projects/feedbacks/index.blade.php @@ -8,6 +8,7 @@ {{ __('admin-sections.Project') }} + {{ __('validation.attributes.date') }} {{ __('site.attributes.message') }} {{ __('site.attributes.name') }} {{ __('site.attributes.email') }} @@ -17,6 +18,9 @@ @foreach($feedbacks as $feedback) {{ $feedback->project->name }} + + {{ $feedback->created_at->diffForHumans() }} + {!! $feedback->message !!}

{{ $feedback->name }}

diff --git a/app/application/resources/views/admin/projects/feedbacks/project.blade.php b/app/application/resources/views/admin/projects/feedbacks/project.blade.php index 9b7a4b5..871056e 100644 --- a/app/application/resources/views/admin/projects/feedbacks/project.blade.php +++ b/app/application/resources/views/admin/projects/feedbacks/project.blade.php @@ -8,6 +8,7 @@ + @@ -16,6 +17,9 @@ @foreach($feedbacks as $feedback) +
{{ __('validation.attributes.date') }} {{ __('site.attributes.message') }} {{ __('site.attributes.name') }} {{ __('site.attributes.email') }}
+ {{ $feedback->created_at->diffForHumans() }} + {!! $feedback->message !!}

{{ $feedback->name }}