@php use App\Models\Domain; @endphp @if(Domain::where('user_id', auth()->id())->exists()) {{-- Domain Selector --}} {{ __('Select Domain') }} {{ __('Choose a domain to manage its DNS records.') }} {{ $this->form }} @if($selectedDomainId) {{-- Pending Adds Infolist --}} @if(count($pendingAdds) > 0) {{ $this->pendingAddsInfolist }} @endif {{-- Warning Banner --}} {{ __('Important') }} {{ __('Incorrect DNS changes can make your website or email unreachable. Changes may take up to 48 hours to propagate globally.') }} {{-- Pending Changes Summary --}} @if($this->hasPendingChanges()) {{ __('Unsaved Changes') }} {{ __('You have :count pending change(s). Click Save to apply them.', ['count' => $this->getPendingChangesCount()]) }} @endif {{-- Records Table --}} {{ $this->table }} @else {{-- No Domain Selected --}} {{ __('No Domain Selected') }} {{ __('Select a domain from the dropdown above to view and manage its DNS records.') }} @endif @else {{-- No Domains Found --}} {{ __('No Domains Found') }} {{ __('You need to add a domain before you can manage DNS records.') }} {{ __('Add Domain') }} @endif