@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('panel.comments_statistics') }}

{{ $quizzesCount }} {{ trans('quiz.quizzes') }}
{{ $questionsCount }} {{ trans('public.questions') }}
{{ $userCount }} {{ trans('quiz.students') }}

{{ trans('quiz.filter_quizzes') }}

{{ trans('quiz.quizzes') }}

get('active_quizzes',null) == 'on') checked @endif>
@if($quizzes->count() > 0)
{{----}} @foreach($quizzes as $quiz) @endforeach
{{ trans('public.title') }} {{ trans('public.questions') }} {{ trans('public.time') }} ({{ trans('public.min') }}) {{ trans('public.total_mark') }} {{ trans('public.pass_mark') }} {{ trans('quiz.students') }}{{ trans('quiz.average') }}{{ trans('public.status') }} {{ trans('public.date_created') }}
{{ $quiz->title }} @if(!empty($quiz->webinar)) {{ $quiz->webinar->title }} @else {{ trans('panel.not_assign_any_webinar') }} @endif {{ $quiz->quizQuestions->count() }} @if(($quiz->display_limited_questions and !empty($quiz->display_number_of_questions))) ({{ trans('public.active') }}: {{ $quiz->display_number_of_questions }}) @endif {{ $quiz->time }} {{ $quiz->quizQuestions->sum('grade') }} {{ $quiz->pass_mark }} {{ $quiz->quizResults->pluck('user_id')->count() }} @if(!empty($quiz->userSuccessRate) and $quiz->userSuccessRate > 0) {{ $quiz->userSuccessRate }}% {{ trans('quiz.passed') }} @endif {{ trans('public.'.$quiz->status) }} {{ dateTimeFormat($quiz->created_at, 'j M Y H:i') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'quiz.png', 'title' => trans('quiz.quiz_no_result'), 'hint' => nl2br(trans('quiz.quiz_no_result_hint')), 'btn' => ['url' => '/panel/quizzes/new','text' => trans('quiz.create_a_quiz')] ]) @endif
{{ $quizzes->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush