Link 'Helfer*innen' in navbar to team overview when user is authenticated
This commit is contained in:
parent
3d217db98d
commit
00d5dfe22d
|
@ -75,7 +75,7 @@
|
|||
<nav class="navbar">
|
||||
<div class="container">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item has-text-weight-bold" href="{% url 'index' %}">Helfer*innen</a>
|
||||
<a class="navbar-item has-text-weight-bold" href="{% if user.is_authenticated %}{% url 'team:index' %}{% else %}{% url 'index' %}{% endif %}">Helfer*innen</a>
|
||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="main-nav">
|
||||
<span aria-hidden="true"></span>
|
||||
<span aria-hidden="true"></span>
|
||||
|
|
Loading…
Reference in New Issue