$isSuggested,
'domains-row-without-direction' => ! $showDirection,
])>
@if ($isSuggested)
{{ $row['url'] }}
@else
@if ($faviconUrl)
@endif
{{ $row['url'] }}
@endif
@if ($isSuggested && ! empty($row['suggestion_label']))
{{ $row['suggestion_label'] }}
@endif
@if ($isSuggested && filled($row['dns_message']))
{{ $row['dns_message'] }}
@endif
@if ($showServiceColumn)
{{ $serviceLabel }}
@endif
@if ($row['dns_status'] === 'failed')
@else
@endif
@unless ($isSuggested)
Search engine indexing
@endunless
@if ($isSuggested)
-
@elseif (auth()->user()?->can('update', $service))
@else
{{ $service->applications->firstWhere('id', $row['service_application_id'])?->isDomainNoindexed($row['url']) ? 'Noindex' : 'Indexable' }}
@endif
@php
$rowDirection = $serviceRedirects[$row['service_application_id']] ?? 'both';
$directionLabel = match ($rowDirection) {
'www' => 'Redirect to www',
'non-www' => 'Redirect to non-www',
default => 'Allow both',
};
@endphp
@if ($showDirection)
Direction
@endif
@if ($showDirection && auth()->user()?->can('update', $service))
@elseif ($showDirection)
{{ $directionLabel }}
@endif
@can('update', $service)
@if ($isSuggested)
@if ($row['needs_force_add'] ?? false)
Continue
@else
Add domain
@endif
@else
@endif
@endcan