mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Added custom error pages
This commit is contained in:
13
src/pretix/base/templates/403.html
Normal file
13
src/pretix/base/templates/403.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends "error.html" %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Permission denied" %}{% endblock %}
|
||||
{% block content %}
|
||||
<i class="fa fa-lock big-icon"></i>
|
||||
<h1>{% trans "Permission denied" %}</h1>
|
||||
<p>{% trans "You do not have access to this page." %}</p>
|
||||
<p>{{ exception }}</p>
|
||||
<p>
|
||||
<a href="javascript:history.back()">{% trans "Take a step back" %}</a>
|
||||
· <a href="javascript:location.reload()">{% trans "Try again" %}</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user