dont show dashboard in nav menu when not logged in

This commit is contained in:
dsc 2022-03-12 21:37:23 +02:00
parent 3633cfe697
commit 37208b102b

View file

@ -9,8 +9,8 @@
<a href="{{ url_for('bp_routes.login') }}">Login</a> <a href="{{ url_for('bp_routes.login') }}">Login</a>
{% else %} {% else %}
<a href="{{ url_for('bp_routes.logout') }}">Logout</a> <a href="{{ url_for('bp_routes.logout') }}">Logout</a>
{% endif %}
<a href="{{ url_for('bp_routes.dashboard') }}">Dashboard</a> <a href="{{ url_for('bp_routes.dashboard') }}">Dashboard</a>
{% endif %}
<a href="{{ url_for('bp_routes.search') }}">Yell<span>WOW</span>Page search</a> <a href="{{ url_for('bp_routes.search') }}">Yell<span>WOW</span>Page search</a>
<a href="{{ url_for('bp_routes.about') }}">About</a> <a href="{{ url_for('bp_routes.about') }}">About</a>
<a href="{{ url_for('bp_api.api_root') }}">Api</a> <a href="{{ url_for('bp_api.api_root') }}">Api</a>