This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
vincennes-2014/templates/500.html

31 lines
714 B
HTML

{% extends theme_base %}
{% load i18n %}
{% block title %} {% trans "Error: server error (500)" %} {% endblock %}
{% block content %}
<h2>{% trans "Server Error" %}</h2>
<p>{% trans "We're sorry but a server error has occurred." %}</p>
{% if request.logs %}
<h2>Logs</h2>
<table class='a2-log-table'>
{% for log in request.logs %}
<tr class="a2-log-line">
<td class="a2-log-time">{{ log.time|time:"H:i:s" }}</td>
<td class="a2-log-level">{{ log.level }}</td>
<td class="a2-log-message">{{ log.message }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
{% if request.exception %}
<h2>Exception</h2>
<p>{{ request.exception }}</p>
{% endif %}
{% endblock %}