{{ __('domain.title') }}

{{ __('domain.subtitle') }}

@if ($instance === null)

{{ __('domain.state.none') }}

@else {{-- What is served right now. First, because it is the question somebody opens this page with. --}}

{{ __('domain.current_address') }}

{{ $instance->address(\App\Support\ProvisioningSettings::dnsZone()) }}

{{-- Three states, not two. A domain can be proven and still answer nothing, because pointing it at us is an A record in the customer's own zone — and this card was printing that address as if it worked. --}} @if ($instance->domainIsServed()) {{ __('domain.state.verified') }} @elseif ($instance->domainIsVerified()) {{ __('domain.state.not_served') }} @elseif (filled($instance->custom_domain)) {{ __('domain.state.pending') }} @else {{ __('domain.state.none') }} @endif
@if ($platformAddress && $instance->domainIsVerified())

{{ __('domain.platform_address') }}: {{ $platformAddress }}

@endif @if ($instance->domainIsVerified() && ! $instance->domainIsServed()) {{ __('domain.not_served_hint') }} @endif
@error('domain')

{{ $message }}

@enderror
{{ __('domain.save') }}
@if (filled($instance->custom_domain))

{{ __('domain.step_a') }}

{{ __('domain.step_a_body') }}

{{ __('domain.step_b') }}

{{ __('domain.step_b_body') }}

@foreach ([ __('domain.record_name') => $recordName, __('domain.record_type') => 'TXT', __('domain.record_value') => $recordValue, ] as $term => $value)
{{ $term }}
{{ $value }}
@endforeach
{{ __('domain.check_now') }}

@if ($instance->domain_checked_at) {{ __('domain.checked_at', ['when' => $instance->domain_checked_at->local()->isoFormat('DD.MM. HH:mm')]) }} @if (! $instance->domainIsVerified() && $instance->domain_failures > 0) · {{ __('domain.failures', ['count' => $instance->domain_failures]) }} @endif @else {{ __('domain.never_checked') }} @endif

{{-- Said plainly and where it cannot be missed. A customer who tidies the record away six months from now takes their own cloud off its address, and "you were told at the time" is no use to either side. --}} {{ __('domain.keep_record') }}
@endif @endif