aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/error.html (renamed from mediagoblin/templates/mediagoblin/404.html)11
1 files changed, 4 insertions, 7 deletions
diff --git a/mediagoblin/templates/mediagoblin/404.html b/mediagoblin/templates/mediagoblin/error.html
index c0fe8b62..c16b650f 100644
--- a/mediagoblin/templates/mediagoblin/404.html
+++ b/mediagoblin/templates/mediagoblin/error.html
@@ -17,15 +17,12 @@
#}
{% extends "mediagoblin/base.html" %}
-{% block title %}404 — {{ super() }}{% endblock %}
+{% block title %}{{err_code}} — {{ super() }}{% endblock %}
{% block mediagoblin_content %}
<img class="right_align" src="{{ request.staticdirect('/images/404.png') }}"
- alt="{% trans %}Image of 404 goblin stressing out{% endtrans %}" />
- <h1>{% trans %}Oops!{% endtrans %}</h1>
- <p>{% trans %}There doesn't seem to be a page at this address. Sorry!{% endtrans %}</p>
- <p>
- {%- trans %}If you're sure the address is correct, maybe the page you're looking for has been moved or deleted.{% endtrans -%}
- </p>
+ alt="{% trans %}Image of goblin stressing out{% endtrans %}" />
+ <h1>{{ title }}</h1>
+ <p>{{ err_msg|safe }}</p>
<div class="clear"></div>
{% endblock %}