{{-- The headline. Whether anything is actually wrong is the one thing somebody opening this page came to find out. --}} @if ($this->problems()->isEmpty())

{{ __('health.all_clear') }}

@else @php($tone = $this->hasErrors() ? 'danger' : 'warning')
$tone === 'danger', 'border-warning-300 bg-warning-50 dark:border-warning-700/50 dark:bg-warning-500/10' => $tone === 'warning', ])>
$tone === 'danger', 'text-warning-600 dark:text-warning-400' => $tone === 'warning', ]) />

$tone === 'danger', 'text-warning-800 dark:text-warning-300' => $tone === 'warning', ])> {{ trans_choice('health.problem_summary', $this->problems()->count(), ['count' => $this->problems()->count()]) }}

$tone === 'danger', 'text-warning-700 dark:text-warning-400' => $tone === 'warning', ])> {{ __('health.problem_hint') }}

@endif {{-- Failing checks, worst first. --}} @foreach ($this->problems() as $finding) $finding->severity->getColor() === 'danger', 'text-warning-500' => $finding->severity->getColor() === 'warning', ]) /> {{ $finding->title() }} {{ $finding->count }}

{{ $finding->description() }}

{{-- Examples rather than only a number: "12 pages" is a statistic, "12, starting with these" is something somebody can act on. --}} @if (filled($finding->samples))
    @foreach ($finding->samples as $sample)
  • {{ $sample }}
  • @endforeach @if ($finding->count > count($finding->samples))
  • {{ __('health.and_more', ['count' => $finding->count - count($finding->samples)]) }}
  • @endif
@endif @if ($finding->url) {{ __('health.actions.go_fix') }} @endif
@endforeach {{-- What passed, collapsed. Worth showing at all: it says what was actually looked at, so a clean page is not mistaken for a page that never ran. --}} @if ($this->passing()->isNotEmpty()) {{ trans_choice('health.passing', $this->passing()->count(), ['count' => $this->passing()->count()]) }} @endif