{% extends "base.html" %} {% block title %}{{ t('Code check') }}{% endblock %} {% block content %}

{{ t('Code check') }}

{{ t('Code Editor') }} {{ t('History') }}
{% if checked %}
{% if problems %}

{{ t('Files with errors') }}

{% else %}

✓ {{ t('Every Python file and screen template is valid.') }}

{% endif %}

{{ '✓ ' + t('The application starts with the current code.') if ok else '✗ ' + t('The application does not start with the current code — see the details below.') }}

{% endif %} {% if out and not ok %}

{{ t('Details') }} {{ t('The last lines usually name the file and line to fix.') }}

{{ out }}
{% endif %} {% endblock %}