@extends('layouts.app') @section('title', 'Cursos | Gerencia Docente') @section('content')

Cursos

@auth
@endauth
@if ($errors->any())
@endif
@foreach ($semesters as $semester) @endforeach @foreach ($courses as $course) @foreach ($semesters as $semester) @endforeach @endforeach
Curso Title Prontuario# de Secciones
{{ $semester->alpha }}
{{ $course->code }} {{ substr($course->title, 0, 50) . (strlen($course->title) > 50 ? '...' : '') }} @if (!is_null($course->syllabus)) PDF @else @auth @else n/a @endauth @endif {{ $course->getSemesterSectionCount($semester->code) }} @if (Auth::check() && $semesters->take(-6)->contains($semester->code)) @endif
@endsection @section('modals') @include('modal.course.create') @include('modal.course.edit') @include('modal.course.syllabus') @include('modal.section.create') @endsection @section('scripts') @endsection