oshipka/bootstrap/webapp/templates/navigation.html

9 lines
358 B
HTML
Raw Normal View History

2020-07-08 14:38:55 +02:00
<a href="{{ url_for('home') }}">{{ _("Home") }}</a> |
2020-04-15 21:02:11 +02:00
<div class="pull-right">
{% if current_user.is_authenticated %}
<a href="#">{{ current_user.email }}</a> |
2020-07-08 14:38:55 +02:00
<a href="{{ url_for('security.logout') }}">{{ _("Logout") }}</a> |
2020-04-15 21:02:11 +02:00
{% else %}
2020-07-08 14:38:55 +02:00
<a href="{{ url_for('security.login') }}">{{ _("Login") }}</a> |
2020-04-15 21:02:11 +02:00
{% endif %}
</div>