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

{{ trans('general.check-update') }}

{{ trans('admin.update.info.title') }}

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

{{ trans('admin.update.cautions.title') }}

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

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