@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 --}}
{{-- Departments --}}
{{ __('front.departments') }}
{{ __('front.total') }} {{ $faculty->departments->count() }}
@if($faculty->departments->count())
@foreach($faculty->departments as $i => $d) @endforeach
# {{ __('front.name_2') }} {{ __('front.code_2') }}
{{ $i + 1 }} {{ $d->name }} {{ $d->code ?? '—' }}
@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') }}

@endsection