@extends('layouts.app') @section('title', $quiz->title) @section('content')
| Status | {{ ucfirst($quiz->status) }} |
| Availability | {{ $quiz->availabilityLabel() }} |
| Opens | {{ $quiz->available_from?->format('d M Y H:i') ?? 'Immediately' }} |
| Closes | {{ $quiz->available_until?->format('d M Y H:i') ?? 'No deadline' }} |
| Duration | {{ num($quiz->duration_minutes) }} minutes |
| Attempts allowed | {{ num($quiz->attempts_allowed) }} |
| Pass mark | {{ num($quiz->pass_mark, 0) }}% |
| Term weight | {{ (float) $quiz->weight > 0 ? num($quiz->weight, 1).'%' : 'Progress only' }} |
| Question pool | {{ (int) $quiz->questions_to_serve > 0 ? 'Random '.num($quiz->questions_to_serve).' of '.num($questions->count()) : 'All questions' }} |
| Shuffle | {{ $quiz->shuffle_questions ? 'Questions' : 'Fixed order' }}{{ $quiz->shuffle_options ? ' + options' : '' }} |
| Feedback | {{ $quiz->show_feedback ? 'Show answers & explanations' : 'Score only' }} |
| Linked exam |
@if($quiz->exam)
{{ $quiz->exam->name }}
{{ num($quiz->exam->percentage, 1) }}% weighting
@else
Not linked
@endif
|