@extends('admin.layouts.app')
@push('styles_top')
@endpush
@section('content')
{{trans('admin/main.reviews')}}
{{trans('admin/main.total_reviews')}}
{{trans('admin/main.published_reviews')}}
{{trans('admin/main.rates_average')}}
{{trans('admin/main.classes_without_review')}}
@foreach($reviews as $review)
{{trans('admin/main.title')}}
{{trans('admin/main.student')}}
{{trans('admin/main.type')}}
{{trans('admin/main.comment')}}
{{trans('admin/main.reply')}}
{{trans('admin/main.rate')}} (5)
{{trans('admin/main.created_at')}}
{{trans('admin/main.status')}}
{{trans('admin/main.actions')}}
@endforeach
@if(!empty($review->webinar_id))
{{ $review->webinar->title }}
@elseif(!empty($review->bundle_id))
{{ $review->bundle->title }}
@endif
{{ $review->creator->full_name }}
@if(!empty($review->webinar_id))
{{ trans('admin/main.course') }}
@elseif(!empty($review->bundle_id))
{{ trans('update.bundle') }}
@endif
{{ $review->comments_count }}
{{ $review->rates }}
{{ dateTimeFormat($review->created_at,'j M Y | H:i') }}
@if($review->status == 'active')
{{trans('admin/main.published')}}
@else
{{trans('admin/main.hidden')}}
@endif
@can('admin_reviews_status_toggle')
@if($review->status == 'active')
@else
@endif
@endcan
@can('admin_reviews_detail_show')
@endcan
@can('admin_reviews_reply')
id}/reply") }}" target="_blank" class="btn-transparent text-primary mr-1" data-toggle="tooltip" data-placement="top" title="{{ trans('admin/main.reply') }}">
@endcan
@can('admin_reviews_delete')
@include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/reviews/'. $review->id.'/delete','btnClass' => ''])
@endcan