mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 06:24:44 +02:00
26 lines
950 B
PHP
26 lines
950 B
PHP
<x-filament-widgets::widget>
|
|
@if (!$isLatest)
|
|
<x-filament::section
|
|
icon="tabler-info-circle"
|
|
icon-color="warning"
|
|
id="intro-update-available"
|
|
:after-header="$action"
|
|
>
|
|
<x-slot name="heading">{{ trans('admin/dashboard.sections.intro-update-available.heading') }}</x-slot>
|
|
|
|
<p>{{ trans('admin/dashboard.sections.intro-update-available.content', ['latestVersion' => $latestVersion]) }}</p>
|
|
|
|
</x-filament::section>
|
|
@else
|
|
<x-filament::section
|
|
icon="tabler-checkbox"
|
|
icon-color="success"
|
|
id="intro-no-update"
|
|
>
|
|
<x-slot name="heading">{{ trans('admin/dashboard.sections.intro-no-update.heading') }}</x-slot>
|
|
|
|
<p>{{ trans('admin/dashboard.sections.intro-no-update.content', ['version' => $version]) }}</p>
|
|
</x-filament::section>
|
|
@endif
|
|
</x-filament-widgets::widget>
|