lostplaces-backend/django_lostplaces/lostplaces/templates/403.html
2020-10-01 22:58:06 +02:00

16 lines
589 B
HTML

{% extends 'global.html'%}
{% load i18n %}
{% block title %}{% translate 'Forbidden' %}{% endblock %}
{% block additional_head %}
{% if request.META.HTTP_REFERER %}
<meta http-equiv="refresh" content="5;url={{ request.META.HTTP_REFERER }}" />
{% endif %}
{% endblock additional_head %}
{% block maincontent %}
{% if request.META.HTTP_REFERER %}
<p class="LP-Headline">{% translate 'You will be redirected in 5 seconds' %}</p><p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">{% translate 'Go Back' %}</a></p>
{% endif %}
{% endblock maincontent %}