@extends('front.layouts.front') @section('css') @endsection @section('content') Reviews Sort by: Newest Oldest A-Z Z-A 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
{{ $rating->comment }}
@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)) }}
({{ $rating->ratinglike->count() }})
@endforeach
@endif
Title: {{ $rating->titles->title ?? $rating->news->title }}
{{ $rating->comment }}