Commit 6e4ec695 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch '51-customise-error-pages' into 'master'

Include error pages

Closes #51

See merge request !42
parents 96eca363 56f67f1e
{% 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