{{-- Up to date --}} @if ((! $updateAvailable && ! $updateInProgress && $updateInfo) || is_null($updateInfo))

Your application is up to date

You’re on the latest version. No action required.

Current: v{{ $updateInfo["current_version"] ?? "Unknown" }} Last checked: {{ $lastCheckedAt ?? now()->format("M j, Y H:i") }}
@endif {{-- Cards --}} @if (($updateAvailable || $updateInProgress) && $updateInfo)
System Overview Current: v{{ $updateInfo["current_version"] ?? "—" }} Latest: v{{ $updateInfo["latest_version"] ?? "—" }}
{{-- Current Version --}}

Current Version

{{ $updateInfo["current_version"] ?? "Unknown" }}

{{-- New Version --}}

New Version

{{ $updateInfo["latest_version"] ?? ($updateAvailable ? "Unknown" : $updateInfo["current_version"] ?? "Unknown") }}

{{-- Update Status --}}
@if ($updateInProgress) @elseif ($updateAvailable) @else @endif

Update Status

@if ($updateInProgress) In Progress @endif @if ($updateAvailable && ! $updateInProgress) Update Available @endif @if (! $updateAvailable && ! $updateInProgress) Up to Date @endif

@if ($updateInProgress && $currentUpdate)

{{ $currentUpdate->status->label() }}

@endif
@endif {{-- Progress --}} @if ($updateInProgress && $currentUpdate)
Update in Progress @if ($currentUpdate->version) v{{ $currentUpdate->version }} @endif
Overall Progress {{ $currentUpdate->progress_percentage ?? 0 }}%
{{ $currentUpdate->status?->label() ?? "Preparing" }}
@if ($currentUpdate->started_at)
Running {{ $currentUpdate->started_at->diffForHumans(null, true) }}
@endif
@if ($currentUpdate->status_message)
{{ $currentUpdate->status_message }}
@endif
@endif {{-- Release Notes --}} @if (! $updateInProgress && $updateAvailable && ! empty($updateInfo["release_info"]["changelog"] ?? ""))
Release Notes

What's new in this version

{!! \Illuminate\Support\Str::markdown($updateInfo["release_info"]["changelog"]) !!}
@endif
{{-- --}}