@extends('admin.layouts.master') @section('title', __('System Updater')) @section('content')

{{ __('System Updater') }}

@if(isset($is_old) && $is_old)
{{ __('Important notes') }}:
  • {{ __('Please back up your database and script files before upgrading.') }}
  • @if(!empty($enable_oneclick_updater))
  • {{ __("If you don't need this 1-click update, you can disable it in .env by adding") }} CMS_ENABLE_SYSTEM_UPDATER=false
  • @endif
  • {{ __('It will override core application files when you run the update.') }}
@endif @if(empty($license_activated))
{{ __("You haven't activated your license yet!") }}
{{ __('We are required to activate your license before doing upgrade. Please go to settings page to activate your license.') }} {{ __('Settings') }}
@endif @if(!empty($rate_limit_message))
{{ is_string($rate_limit_message) ? $rate_limit_message : __('Update check is temporarily limited. Please try again in a minute.') }}
@endif @if(!empty($from_cache))
{{ __('Showing cached result. Next check in a minute.') }}
@endif
{{ __('Current system status') }}

{{ __('Your current version') }}

{{ $version_code ?? $current_version ?? __('N/A') }}

{{ __('Latest version') }}

{{ $next_version_code ?? $next_version ?? $version_code ?? __('N/A') }}

@if(!empty($release_date))

{{ __('Released on') }} {{ $release_date }}

@endif
@if(isset($is_old) && $is_old)

{{ __('A new update is available.') }}

@else

{{ __('You are on the latest version.') }}

@endif
@if(!empty($changelog_plain) || !empty($changelog))
{{ __('Latest changelog') }} @if(!empty($release_date))({{ $release_date }})@endif
@if(isset($is_old) && $is_old && ($next_version_code ?? $next_version))

{{ __('A new version') }} ({{ $next_version_code ?? $next_version }} {{ __('released on') }} {{ $release_date ?? '' }}) {{ __('is available to update!') }}

@endif @if($next_version_code ?? $next_version)

{{ __('Version') }} {{ $next_version_code ?? $next_version }}

@endif
{!! !empty($changelog_plain) ? e($changelog_plain) : ($changelog ?? '') !!}
@endif @if(isset($is_old) && $is_old && !empty($enable_oneclick_updater))
{{ __('OneClick System Updater') }}
@elseif(isset($is_old) && $is_old && empty($enable_oneclick_updater))
{{ __('1-click update is disabled. Use the Manual System Updater below to update.') }}
@endif @if(isset($is_old) && $is_old)
{{ __('Manual System Updater') }}

{{ __("Having trouble with the One-Click System Updater? No worries! Check out the manual updater below - it's easy, just follow the steps!") }}

1 {{ __('Download update files') }}
2 {{ __('Update system files') }}
3 {{ __('Update databases') }}
4 {{ __('Publish core assets') }}
5 {{ __('Publish packages assets') }}
6 {{ __('Clean up system update files') }}
@endif
@endsection