@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ trans('admin/main.testimonials') }}

@can('admin_testimonials_create') {{ trans('admin/main.add_new') }} @endcan
@foreach($testimonials as $testimonial) @endforeach
# {{ trans('admin/main.user_name') }} {{ trans('admin/main.rate') }} {{ trans('admin/main.content') }} {{ trans('admin/main.status') }} {{ trans('admin/main.created_at') }} {{ trans('admin/main.action') }}
{{ $testimonial->user_name }} {{ $testimonial->rate }} {{ nl2br(truncate($testimonial->comment, 150, true)) }} @if($testimonial->status == 'active') {{ trans('admin/main.active') }} @else {{ trans('admin/main.disable') }} @endif {{ dateTimeFormat($testimonial->created_at, 'j M Y | H:i') }} @can('admin_supports_reply') @endcan @can('admin_supports_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/testimonials/'.$testimonial->id.'/delete' , 'btnClass' => '']) @endcan
@endsection @push('scripts_bottom') @endpush