Skip to content
Snippets Groups Projects
Commit 9d7bbf6a authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '292-fix-design-of-custom-error-pages' into 'master'

Resolve "Fix design of custom error pages"

Closes #292

See merge request AlekSIS/official/AlekSIS!311
parents e08e412e 17be5e80
No related branches found
No related tags found
1 merge request!311Resolve "Fix design of custom error pages"
Pipeline #2808 failed
......@@ -5,10 +5,16 @@
{% block content %}
<div class="container">
<div class="card red">
<div class="card white-text">
<i class="material-icons small">error_outline</i>
<span class="card-title">{% trans "Error" %} (403): {% blocktrans %}You are not allowed to access the requested page or
object.{% endblocktrans %}</span>
<div class="card-content white-text">
<i class="material-icons small left">error_outline</i>
<span class="card-title">
{% if exception %}
{{ exception }}
{% else %}
{% trans "Error" %} (403): {% blocktrans %}You are not allowed to access the requested page or
object.{% endblocktrans %}
{% endif %}
</span>
<p>
{% blocktrans %}
If you think this is an error in AlekSIS, please contact your site
......
......@@ -6,7 +6,7 @@
<div class="container">
<div class="card red">
<div class="card-content white-text">
<div class="material-icons small">error_outline</div>
<div class="material-icons small left">error_outline</div>
<span class="card-title">{% trans "Error" %} (500): {% blocktrans %}An unexpected error has
occured.{% endblocktrans %}</span>
<p>
......
......@@ -6,7 +6,7 @@
<div class="container">
<div class="card red">
<div class="card-content white-text">
<div class="material-icons small">error_outline</div>
<div class="material-icons small left">error_outline</div>
<span class="card-title">{% blocktrans %}The maintenance mode is currently enabled. Please try again
later.{% endblocktrans %}</span>
<p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment