lostplaces-backend/django_lostplaces/lostplaces/templates/403.html

16 lines
577 B
HTML
Raw Normal View History

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