lostplaces-backend/lostplaces/templates/403.html

16 lines
611 B
HTML
Raw Normal View History

2020-08-12 18:52:04 +02:00
{% extends 'global.html'%}
2020-08-12 18:56:09 +02:00
2020-08-12 18:52:04 +02:00
{% block title %}Forbidden{% endblock %}
2020-08-12 19:04:42 +02:00
{% block additional_head %}
{% if request.META.HTTP_REFERER %}
<p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p>
<meta http-equiv="refresh" content="5;url={{ request.META.HTTP_REFERER }}" />
{% endif %}
{% endblock additional_head %}
2020-08-12 18:56:09 +02:00
{% block maincontent %}
{% if request.META.HTTP_REFERER %}
2020-08-12 19:06:19 +02:00
<p class="LP-Headline">You will be redirected in 5 seconds</p><p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p>
2020-08-12 18:56:09 +02:00
{% endif %}
{% endblock maincontent %}