{{-- If Have Data --}}

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

@if(!empty($myQuizzes['quizzes']) and count($myQuizzes['quizzes']))
{{-- Not Participated --}}
{{ $myQuizzes['notParticipatedCount'] }} {{ trans('update.not_participated') }}
{{-- Pending Review --}}
{{ $myQuizzes['pendingReviewCount'] }} {{ trans('update.pending_review') }}
@foreach($myQuizzes['quizzes'] as $myPendingQuiz)
@if(!empty($myPendingQuiz->icon))
@else
@endif
{{ truncate($myPendingQuiz->title, 26) }} {{ truncate($myPendingQuiz->webinar->title, 32) }}
{{ $myPendingQuiz->getQuestionsCount() }}
@if(!empty($myPendingQuiz->submited_at))
{{ dateTimeFormat($myPendingQuiz->submited_at, 'j M Y H:i') }}
@endif
{{ trans('public.created_by') }} {{ truncate($myPendingQuiz->creator->full_name, 25) }}
@endforeach @else {{-- If Empty --}}
{{ trans('update.no_quiz!') }}
{{ trans('update.you_don’t_have_any_not_participated_or_pending_review_quiz') }}
@endif