forked from Fediversity/Fediversity
fix wrong rebase of base.html
This commit is contained in:
parent
70407d890a
commit
5fa3ef4566
1 changed files with 22 additions and 6 deletions
|
@ -16,12 +16,28 @@
|
|||
|
||||
<body>
|
||||
<header>
|
||||
{% if user.is_authenticated %}
|
||||
<p>Welcome, {{ user.username }}! <a href="{% url 'logout' %}?next={{ request.path }}">Logout</a></p>
|
||||
<p><a href="{% url 'deploy_services' %}">Deploy services</a></p>
|
||||
{% else %}
|
||||
<p><a href="{% url 'login' %}?next={{ request.path }}">Login</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% block navigation %}
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{% url 'index' %}">Start</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'service_list' %}">Services</a>
|
||||
</li>
|
||||
|
||||
{% load custom_tags %}
|
||||
<li>
|
||||
{% if user.is_authenticated %}
|
||||
Welcome, <a href="{% url 'account_detail' %}">{{ user.username }}</a>! <a id="logout" href="{% auth_url 'logout' %}">Logout</a>
|
||||
{% else %}
|
||||
<a id="login" href="{% auth_url 'login' %}">Login</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
{% endblock navigation %}
|
||||
</header>
|
||||
|
||||
{% block layout %}
|
||||
|
|
Loading…
Add table
Reference in a new issue