@php use Botble\Base\Enums\SystemUpdaterStepEnum; @endphp @extends(BaseHelper::getAdminMasterLayoutTemplate()) @section('content')

{{ trans('core/base::system.updater') }}

- Please back up your database and script files before upgrading.

- You need to activate your license before doing upgrade.

- If you don't need this 1-click update, you can disable it in .env by adding CMS_ENABLE_SYSTEM_UPDATER=false

- It will override all files in platform/core, platform/packages, all plugins developed by us in platform/plugins and theme developed by us in platform/themes.

@if (! empty($latestUpdate)) @if (request()->query('no-ajax')) @if($isOutdated)

{{ __('A new version (:version / released on :date) is available to update!', ['version' => $latestUpdate->version, 'date' => $latestUpdate->releasedDate->toDateString()]) }}

{!! $latestUpdate->changelog !!}
@else

{{ __('The system is up-to-date. There are no new versions to update!') }}

@endif
@csrf
    @foreach(SystemUpdaterStepEnum::labels() as $step => $label) @break($step === SystemUpdaterStepEnum::lastStep())
  1. @endforeach
@else @if($isOutdated)

{{ __('A new version (:version / released on :date) is available to update!', ['version' => $latestUpdate->version, 'date' => $latestUpdate->releasedDate->toDateString()]) }}

{!! $latestUpdate->changelog !!}
@else

{{ __('The system is up-to-date. There are no new versions to update!') }}

@endif
@endif @else

{{ __('The system is up-to-date. There are no new versions to update!') }}

@endif
@if (! request()->query('no-ajax'))

If you don't see the update button, please 1]) }}>click here.

@endif @if (isset($isOutdated) && isset($latestUpdate) && ! $isOutdated && $latestUpdate)
Latest changelog: released on {{ $latestUpdate->releasedDate->toDateString() }}
{!! trim(str_replace(PHP_EOL . PHP_EOL, PHP_EOL, strip_tags((str_replace(['
  • ', '
  • ', '
      '], ['
    • - ', '
    • ' . PHP_EOL, PHP_EOL . '
        '], $latestUpdate->changelog))))) !!}
    @endif
    @stop