@extends('front.layouts.front') @section('css') @endsection @section('content')

Reviews

Found {{ $reviews->total() }} posts
    @if(count($reviews) > 0) @foreach ($reviews as $rating)
  • user->profile_photo_path == null) src="{{ url('assets/img/user.svg') }}" @else src="{{ $rating->user->profile_photo_path }}" @endif alt=""> {{ $rating->user->first_name . ' ' . $rating->user->last_name }} {{ date('d.m.Y, H:i', strtotime($rating->created_at)) }}
    Title: {{ $rating->titles->title ?? $rating->news->title }}

    {{ $rating->comment }}

    ({{ $rating->ratinglike->count() }})
  • @endforeach @endif
{{ $reviews->appends(request()->input())->links() }}
@endsection @section('script') @endsection