Unverified Commit 56f67f1e authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Include error pages

parent d08bc4f6
{% extends "error.html" %}
{% load i18n %}
{% block error_message %}{% trans "400: Bad request" %}{% endblock %}
{% extends "error.html" %}
{% load i18n %}
{% block error_message %}{% trans "403: Permision denied." %}<br>
{{ exception }}
{% endblock %}
{% extends "error.html" %}
{% load i18n %}
{% block error_message %}{% trans "404: page not found." %}<br>
<!-- {{ exception }} -->
{% endblock %}
{% extends "error.html" %}
{% load i18n %}
{% block error_message %}{% trans "500: internal server error. Thalia's website committee has been notified." %}{% endblock %}
{% extends 'base.html' %}
{% load i18n %}
{% block title %}Error — {{ block.super }}{% endblock %}
{% block page_title %}{% trans "Error" %}{% endblock %}
{% block body %}
<h1>{% blocktrans %}Error{% endblocktrans %}</h1>
<p>
{% block error_message %}{% trans "An error occurred." %}{% endblock %}
</p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/t3otBjVZzT0?autoplay=0" frameborder="0" allowfullscreen></iframe>
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment