@extends('layouts.dashboard') @section('title', __('My Attempts')) @section('page_title', __('My Attempts')) @section('content')
@forelse($attempts as $attempt) @if($attempt->quiz && ! $attempt->quiz->resultsPublished()) @else @endif @empty @endforelse
{{ __('Test') }} {{ __('Taken') }} {{ __('Score') }} {{ __('Result') }}
{{ $attempt->quiz?->title ?? __('Deleted quiz') }}
{{ status_label($attempt->quiz?->quiz_type ?? null) }}
{{ $attempt->submitted_at?->diffForHumans() }}— {{ __('Result pending') }}{{ (float) $attempt->obtained_marks }} / {{ (float) $attempt->total_marks }} ({{ (float) $attempt->percentage }}%) {{ $attempt->is_passed ? __('Passed') : __('Failed') }} {{ __('Review') }}
{{ __('You have not taken any test yet.') }}
{{ $attempts->links() }}
@endsection