@extends('backend.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('backend.partials.rtl-style') @section('content')
{{ __('Update Testimonial Section') }}
@includeIf('backend.partials.languages')
@csrf @if ($settings->theme_version == 3 || $settings->theme_version == 5)

@if (!empty($data->testimonial_section_image)) image @else ... @endif
{{ __('Choose Image') }}
@error('image')

{{ $message }}

@enderror
@endif @if ($settings->theme_version == 5)

image
{{ __('Choose Image') }}
@error('image2')

{{ $message }}

@enderror
@endif
{{ __('Testimonials') }}
@includeIf('backend.partials.languages')
{{ __('Add') }}
@if (count($testimonials) == 0)

{{ __('NO TESTIMONIAL FOUND') . '!' }}

@else
@if ($themeInfo->theme_version == 2 || $themeInfo->theme_version == 3) @endif @foreach ($testimonials as $testimonial) @if ($themeInfo->theme_version == 2 || $themeInfo->theme_version == 3) @endif @endforeach
{{ __('Image') }}{{ __('Name') }} {{ __('Occupation') }} {{ __('Comment') }} {{ __('Actions') }}
@if (is_null($testimonial->image)) - @else client image @endif {{ $testimonial->name }} {{ $testimonial->occupation }} {{ strlen($testimonial->comment) > 50 ? mb_substr($testimonial->comment, 0, 50, 'UTF-8') . '...' : $testimonial->comment }} {{ __('Edit') }}
@csrf
@endif
{{-- create modal --}} @include('backend.home-page.testimonial-section.create') {{-- edit modal --}} @include('backend.home-page.testimonial-section.edit') @endsection