Compare commits
No commits in common. "10d96c7c8fba9486afae219190b66efb8061b2ae" and "d554355f9c9e939254f081a8d16e2d59974edb9d" have entirely different histories.
10d96c7c8f
...
d554355f9c
@ -22,11 +22,7 @@
|
|||||||
<span class="LP-Paragraph">
|
<span class="LP-Paragraph">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
Hi {{ user.username }}!
|
Hi {{ user.username }}!
|
||||||
<a class="LP-Link" href="{% url 'logout' %}"><span class="LP-Link__Text">logout</span></a>
|
<a class="LP-Link" href="{% url 'logout' %}"><span class="LP-Link__Text">logout</span></a>
|
||||||
{% if user.is_superuser %}
|
|
||||||
| <a class="LP-Link" href="{% url 'admin:index' %}" target="_blank"><span class="LP-Link__Text">admin</span></a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
You are not logged in.
|
You are not logged in.
|
||||||
<a class="LP-Link" href="{% url 'login' %}"><span class="LP-Link__Text">login</span></a> |
|
<a class="LP-Link" href="{% url 'login' %}"><span class="LP-Link__Text">login</span></a> |
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
{% extends 'global.html'%}
|
|
||||||
|
|
||||||
{% block title %}Forbidden{% endblock %}
|
|
||||||
|
|
||||||
{% block maincontent %}
|
|
||||||
{% if request.META.HTTP_REFERER %}
|
|
||||||
<p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock maincontent %}
|
|
Loading…
Reference in New Issue
Block a user