@extends('admin.master') @section('title', trans('general.check-update')) @section('content')

@lang('general.check-update')

@lang('admin.update.info.title')

@if ($info['new_version_available'])
@lang('admin.update.info.available')
@if($info['pre_release'])
@lang('admin.update.info.pre-release-warning')
@endif
@lang('admin.update.info.versions.latest') v{{ $info['latest_version'] }}
@lang('admin.update.info.versions.current') v{{ $info['current_version'] }}
@lang('admin.update.info.release-time') {{ Utils::getTimeFormatted($info['release_time']) }}
@lang('admin.update.info.change-log.text') {!! nl2br($info['release_note']) ?: trans('admin.update.info.change-log.empty') !!}
@lang('admin.update.info.downloads.text') @lang('admin.update.info.downloads.link')
@else
@lang('admin.update.info.up-to-date')
@lang('admin.update.info.versions.current') v{{ $info['current_version'] }}
@lang('admin.update.info.release-time') @if ($info['release_time']) {{ Utils::getTimeFormatted($info['release_time']) }} @else @lang('admin.update.info.pre-release') @endif
@endif

@lang('admin.update.cautions.title')

{!! nl2br(trans('admin.update.cautions.text')) !!}

{!! $update->render() !!}
@endsection