@extends('layouts.student') @section('pageTitle',$course->name.': '.$classRow->name) @section('innerTitle',$course->name) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>$customCrumbs]) @endsection @section('content')
{!! $classRow->introduction !!}
{{ __lang('content') }} | {{ __lang('type') }} |
---|---|
{{ $page->title }} | @php switch($page->type){ case 't': echo __lang('text'); break; case 'v': echo __lang('video'); break; case 'c': echo __lang('html-code'); break; case 'i': echo __lang('image'); break; case 'q': echo __lang('quiz'); break; case 'l': echo __lang('video'); break; } @endphp |
{{ __lang('file') }} | {{ basename($download->path) }} | @php if ($fileTable->getTotalForDownload($classRow->id)> 0): @endphp {{ __lang('download') }} @php else: @endphp {{ __lang('no-files-available') }} @php endif; @endphp | @php endforeach; @endphp
---|
{{ __lang('subject') }} | {{ __lang('created-on') }} | {{ __lang('recipients') }} | {{ __lang('replied') }} | |
---|---|---|---|---|
{{ $row->subject }} | {{ showDate('d/M/Y',$row->created_at) }} | @php if($row->admin==1): @endphp {{ __lang('administrators') }}, @php endif; @endphp @php foreach($accountTable->getDiscussionAccounts($row->id) as $row2): @endphp {{ $row2->name.' '.$row2->last_name }}, @php endforeach; @endphp | {{ boolToString($row->replied) }} | {{ __lang('view') }} |