{% extends 'OroUIBundle:Default:index.html.twig' %}
{% oro_title_set({titleTemplate : "%code% - %status%" , params: {'%code%': status_code, '%status%' :status_text }, force : true}) %}
{% block head %}
{{ parent() }}
{% endblock %}
{% block bodyClass %}error-page{% endblock %}
{% block header %}
{% block breadcrumb %}
{% endblock %}
{% if app.user is not null %}
{{ parent() }}
{% if status_code == 503 %}
{% block navbar %}{% endblock %}
{% endif %}
{% else %}
{% if status_code == 404 %} {{ 'The page you requested could not be found. Please make sure the path you used is correct.'|trans }} {% elseif status_code == 403 %} {{ "You don't have permission to access this page."|trans }} {% else %} {{ 'The System is currently under maintenance and should be available in a few minutes.'|trans }} {% endif %}
{% if status_code == 404 or status_code == 403 %} {% endif %}