29 lines
1.4 KiB
Twig
29 lines
1.4 KiB
Twig
{% extends 'index.twig' %}
|
|
|
|
{% block bodyNavigation %}{% endblock %}
|
|
|
|
{% block title %}Octoleo Error{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="uk-container uk-margin">
|
|
{% if exception.code in [404, 405] %}
|
|
<h2>We Couldn't Find It</h2>
|
|
<p class="lead">Sorry, we couldn't find the page matching your request. Try using the navigation to find what you were looking for?</p>
|
|
{% else %}
|
|
<h2>Ouch, That's an Error</h2>
|
|
<p class="lead">Well this is embarrassing, seems there was an error processing this request. Perhaps try again? Or <a href="https://github.com/octoleo/crm/issues/new?title=[FW Site]&body=Please state the nature of your development emergency">file an issue</a> so we can address it.</p>
|
|
{% endif %}
|
|
|
|
{% if appDebug %}
|
|
<h3><span class="badge badge-danger">{{ exception.code|default(0) }}</span> {{ exception|get_class }}</h3>
|
|
<p>{{ exception.message|strip_root_path }}</p>
|
|
|
|
{% if exception.previous %}
|
|
{% set _previous = exception.previous %}
|
|
<h3>Previous Exception</h3>
|
|
<h4><span class="badge badge-danger">{{ exception.code|default(0) }}</span> {{ exception|get_class }}</h4>
|
|
<p>{{ exception.message|strip_root_path }}</p>
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %} |