fix wrong rebase of base.html

This commit is contained in:
Kevin Muller 2025-02-20 14:48:24 +01:00
parent 70407d890a
commit 5fa3ef4566

View file

@ -16,12 +16,28 @@
<body> <body>
<header> <header>
{% if user.is_authenticated %}
<p>Welcome, {{ user.username }}! <a href="{% url 'logout' %}?next={{ request.path }}">Logout</a></p> {% block navigation %}
<p><a href="{% url 'deploy_services' %}">Deploy services</a></p> <nav>
{% else %} <ul>
<p><a href="{% url 'login' %}?next={{ request.path }}">Login</a></p> <li>
{% endif %} <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> </header>
{% block layout %} {% block layout %}