@extends('layouts.dashboard') @section('content') @php /** @var array $checks Core\Requirements::rows() — label, ok, required, purpose, found, fix, command */ $missing = 0; $advised = 0; foreach ($checks as $c) { if ($c['ok']) { continue; } $c['required'] ? $missing++ : $advised++; } @endphp
{{ t_raw('admin.advanced.req_help') }}
| {{ t_raw('admin.advanced.req_col_requirement') }} | {{ t_raw('admin.advanced.req_col_purpose') }} | {{ t_raw('admin.advanced.req_col_detected') }} | {{ t_raw('admin.advanced.req_col_status') }} |
|---|---|---|---|
{{ $row['label'] }}
@php // A failure is only useful if it can be acted on, so the row that fails
// carries the sentence and the one line to run. Same anatomy as the
// delivery error under a failed send in the email log.
@endphp
@if ($row['fix'] !== '')
{{ $row['fix'] }}
@endif
@if ($row['command'] !== '')
{{ $row['command'] }}
@endif
|
{{ $row['purpose'] }} | {!! or_dash($row['found']) !!} | @if ($row['ok']) {{ t_raw('admin.advanced.req_status_ready') }} @elseif ($row['required']) {{ t_raw('admin.advanced.req_status_missing') }} @else {{ t_raw('admin.advanced.req_status_recommended') }} @endif |