oshipka/bootstrap/webapp/templates/navigation.html

8 lines
333 B
HTML
Raw Permalink Normal View History

2020-04-15 21:02:11 +02:00
<div class="pull-right">
{% if current_user.is_authenticated %}
2021-05-09 17:07:34 +02:00
<a href="{{ config.SSO_BASE_URL }}">{{ current_user.username }}</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 %}
2021-05-09 17:07:34 +02:00
<a href="{{ url_for('security.login') }}">{{ _("Login SSO") }}</a>
2020-04-15 21:02:11 +02:00
{% endif %}
</div>