@extends('app') @section('title', __('DBasic::common.hubs')) @section('content') @if(!$hubs->count())
No Hubs!
@else
@foreach($hubs as $hub)
{{ $hub->name }} {{-- --}}
@lang('DBasic::common.icao') {{ $hub->icao }}
@lang('DBasic::common.iata') {{ $hub->iata ?? '--' }}
@lang('common.country') @if(strlen($hub->country) === 2) {{ $country->alpha2($hub->country)['name'] }} ({{ strtoupper($hub->country) }}) @endif
{{ trans_choice('common.pilot', 2) }} {{ $pilots[$hub->icao] ?? '-'}}
@endforeach
@endif @endsection