Commit 17e3bdf6ebae0aa7b10480e3364d56f0e9b6eb1a
1 parent
4aa3d7ab
Exists in
master
and in
39 other branches
Improving error pages
Showing
4 changed files
with
26 additions
and
9 deletions
Show diff stats
src/templates/404.html
1 | +{% extends "base.html" %} | ||
1 | {% load i18n %} | 2 | {% load i18n %} |
2 | 3 | ||
3 | -<h1>{% trans "Not found. Keep searching! :)" %}</h1> | 4 | +{% block header %} |
5 | + {% include "includes/big_header.html" %} | ||
6 | +{% endblock %} | ||
7 | + | ||
8 | +{% block main-content %} | ||
9 | + <h1>{% trans "Not found. Keep searching! :)" %}</h1> | ||
10 | +{% endblock %} |
src/templates/500.html
1 | +{% extends "base.html" %} | ||
1 | {% load i18n %} | 2 | {% load i18n %} |
2 | 3 | ||
3 | -<h1>{% trans "Ooopz... something went wrong!" %}</h1> | 4 | +{% block header %} |
5 | + {% include "includes/big_header.html" %} | ||
6 | +{% endblock %} | ||
7 | + | ||
8 | +{% block main-content %} | ||
9 | + <h1>{% trans "Ooopz... something went wrong!" %}</h1> | ||
10 | +{% endblock %} |
src/templates/home.html
@@ -6,13 +6,7 @@ | @@ -6,13 +6,7 @@ | ||
6 | {% endblock %} | 6 | {% endblock %} |
7 | 7 | ||
8 | {% block header %} | 8 | {% block header %} |
9 | - <div class="row hidden-xs hidden-sm"> | ||
10 | - <div class="col-lg-2 col-lg-offset-5 text-center"> | ||
11 | - <img src="{{ STATIC_URL }}img/logo.png" /> | ||
12 | - </div> | ||
13 | - </div> | ||
14 | - | ||
15 | - <h3 class="text-center hidden-xs hidden-sm">{% trans "INTERLEGIS COMMUNITIES" %}</h3> | 9 | + {% include "includes/big_header.html" %} |
16 | {% endblock %} | 10 | {% endblock %} |
17 | 11 | ||
18 | {% block main-content %} | 12 | {% block main-content %} |
@@ -0,0 +1,9 @@ | @@ -0,0 +1,9 @@ | ||
1 | +{% load i18n %} | ||
2 | + | ||
3 | +<div class="row hidden-xs hidden-sm"> | ||
4 | + <div class="col-lg-2 col-lg-offset-5 text-center"> | ||
5 | + <img src="{{ STATIC_URL }}img/logo.png" /> | ||
6 | + </div> | ||
7 | +</div> | ||
8 | + | ||
9 | +<h3 class="text-center hidden-xs hidden-sm">{% trans "INTERLEGIS COMMUNITIES" %}</h3> |