Merge branch 'master' of mowoe.com:reverend/lostplaces-backend

This commit is contained in:
Marcus Scholz 2020-08-12 19:07:12 +02:00
commit a82ddaa44e
2 changed files with 12 additions and 2 deletions

View File

@ -8,7 +8,10 @@
<link rel="icon" type="image/png" href="{% static 'favicon.ico' %}">
<title>
{% block title %}Urban Exploration{% endblock %}
</title>
</title>
{% block additional_head %}
{% endblock additional_head %}
</head>
<body>

View File

@ -1,9 +1,16 @@
{% extends 'global.html'%}
{% block title %}Forbidden{% endblock %}
{% 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 %}
{% block maincontent %}
{% if request.META.HTTP_REFERER %}
<p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p>
<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>
{% endif %}
{% endblock maincontent %}