{{--
--}}
Cursos
Profesores
@php switch(Request()->session()->get('filter')) { case 'f': $division = App\Faculty::find(Request()->session()->get('faculty')); break; case 'd': $division = App\Department::find(Request()->session()->get('department')); break; default: break; } @endphp
{{ $division->name ?: $division->code ?? 'Departamento' }}
@foreach (App\Faculty::orderBy('name')->get() as $faculty) @if ($faculty->departments->isNotEmpty())
{{ $faculty->name }}
@foreach ($faculty->departments as $dept)
{{ $dept->name ?: $dept->code }}
@endforeach
@else
{{ $faculty->name }}
@endif @endforeach
@guest
{{ __('Login') }}
@if (Route::has('register'))
{{ __('Register') }}
@endif @else
{{ Auth::user()->name }}
Dashboard
Log out
@endguest
{{--
--}}
@yield('content')
@auth @yield('modals') @endauth {{-- --}} @yield('scripts')