{% extends 'admin.base' %} {% block title %}{{ trans('general.check-update') }}{% endblock %} {% block content %}

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

{% if extra.canUpdate %}
{{ trans('admin.update.info.available') }}
{{ trans('admin.update.info.versions.latest') }} v{{ info.latest }}
{{ trans('admin.update.info.versions.current') }} v{{ info.current }}
{% else %} {% if error is not empty %}
{{ trans('admin.update.errors.connection', {error: error}) }}
{% else %}
{{ trans('admin.update.info.up-to-date') }}
{% endif %}
{{ trans('admin.update.info.versions.current') }} v{{ info.current }}
{% endif %}

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

{% for text in trans('admin.update.cautions.text')|split('\n') %}

{{ text }}

{% endfor %} {{ trans('admin.update.cautions.link') }}
{% endblock %} {% block before_foot %} {% endblock %}