@extends('public.layout.app') @section('title', $faculty->name) @section('body') {{-- Header --}} {{ __('front.back_to_list_2') }} {{ $faculty->university?->name ?? '—' }} @if($faculty->code) {{ $faculty->code }} @endif {{ __('front.departments_2') }} {{ $faculty->departments_count ?? $faculty->departments->count() }} {{ $faculty->name }} {{ __('front.explore_departments_and_related_information_for_this_fa') }} {{-- Quick actions --}} {{ __('front.more_from_same_university') }} @if($faculty->code) {{ __('front.search_by_code') }} @endif @if($faculty->information) Faculty information {!! nl2br(e($faculty->information)) !!} @endif {{-- Departments --}} {{ __('front.departments') }} {{ __('front.total') }} {{ $faculty->departments->count() }} @if($faculty->departments->count()) @foreach($faculty->departments as $d) {{ $d->name }} {{ __('front.code_2') }}: {{ $d->code ?? '-' }} Department details @forelse($d->programs as $program) {{ $program->name }} @if($program->degree_type) ({{ $program->degree_type }}) @endif @empty Programs will appear here after academic setup. @endforelse @endforeach @else {{ __('front.no_departments_available_for_this_faculty') }} @endif {{-- Side Info --}} {{ __('front.faculty_info') }} {{ __('front.university') }} {{ $faculty->university?->name ?? '—' }} {{ __('front.code_2') }} {{ $faculty->code ?? '—' }} {{ __('front.created_2') }} {{ optional($faculty->created_at)->format('Y-m-d') }} {{ __('front.updated') }} {{ optional($faculty->updated_at)->format('Y-m-d') }} {{ __('front.tip') }} {{ __('front.use_the_list_page_filters_to_quickly_find_faculties_by') }} @include('public.partials.important-notes', ['notes' => $faculty->public_notes ?? null]) @include('public.partials.comment-section', ['type' => 'faculty', 'id' => $faculty->id, 'comments' => $comments ?? collect()]) @include('public.partials.feedback-form', ['type' => 'faculty', 'id' => $faculty->id]) @endsection
{{ __('front.explore_departments_and_related_information_for_this_fa') }}
{{ __('front.use_the_list_page_filters_to_quickly_find_faculties_by') }}