2
0
Fork 0

Link 'Helfer*innen' in navbar to team overview when user is authenticated

This commit is contained in:
Luca 2023-05-14 13:39:30 +02:00
parent 3d217db98d
commit 00d5dfe22d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
<nav class="navbar"> <nav class="navbar">
<div class="container"> <div class="container">
<div class="navbar-brand"> <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"> <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>
<span aria-hidden="true"></span> <span aria-hidden="true"></span>