-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Magdalena Noffke
committed
Nov 16, 2016
1 parent
8575d46
commit 50d9351
Showing
2 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
{% extends "base.html" %} | ||
{% load static i18n %} | ||
{% extends "base_errors.html" %} | ||
{% load i18n %} | ||
|
||
{% block content %} | ||
<div class="error text-center"> | ||
<div class="error-banner"> | ||
<div class="error-banner-header"> | ||
<img src="{% static 'images/error.png'%}"> | ||
<div class="error-banner-header-text"> | ||
<h1>404</h1> | ||
<h2>{% trans 'Error' %}</h2> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="error-info"> | ||
<p>{% trans 'Sorry, something went wrong.' %}<br> | ||
{% trans 'This page couldn’t be found.' %}</p> | ||
<a href="/" class="button">{% trans 'Get back to OPIN.ME' %}</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
{% block error_status %}404{% endblock %} | ||
|
||
{% block error_description %}{% trans 'This page couldn’t be found.' %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% extends "base.html" %} | ||
{% load i18n static %} | ||
|
||
{% block content %} | ||
<div class="error text-center"> | ||
<div class="error-banner"> | ||
<div class="error-banner-header"> | ||
<img src="{% static 'images/error.png'%}"> | ||
<div class="error-banner-header-text"> | ||
<h1>{% block error_status %}{% endblock %}</h1> | ||
<h2>{% trans 'Error' %}</h2> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="error-info"> | ||
<p>{% trans 'Sorry, something went wrong.' %}<br> | ||
{% block error_description %}{% endblock %}</p> | ||
<a href="/" class="button">{% trans 'Get back to OPIN.ME' %}</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |