@extends('layouts.student') @section('pageTitle',$pageTitle) @section('innerTitle',$pageTitle) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), '#'=>$pageTitle ]]) @endsection @section('content')
{{ __lang('Test') }} | {{ __lang('Questions') }} | {{ __lang('Minutes Allowed') }} | {{ __lang('multiple-attempts-allowed') }} | {{ __lang('passmark') }} | {{ __lang('Actions') }} |
---|---|---|---|---|---|
{{ $row->name }} | {{ $questionTable->getTotalQuestions($row->test_id) }} | {{ empty($row->minutes)?__lang('Unlimited'):$row->minutes }} | {{ boolToString($row->allow_multiple) }} | {{ ($row->passmark > 0)? $row->passmark.'%':__lang('Ungraded') }} | @php if(!$studentTest->hasTest($row->test_id,$id) || !empty($row->allow_multiple)): @endphp {{ __lang('Take Test') }} @php endif; @endphp @php if($studentTest->hasTest($row->test_id,$id) && $row->show_result==1): @endphp {{ __lang('Your Results') }} @php endif; @endphp |