blog/webapp/templates/blog_post/navigation.html
Daniel Tsvetkov d1191c782d new perms
2021-05-15 01:04:17 +02:00

10 lines
388 B
HTML

<a href="{{ url_for('home') }}">{{ _("Home") }}</a> |
<div class="pull-right">
{% if current_user.is_authenticated %}
<a href="{{ config.SSO_BASE_URL }}">{{ current_user.username }}</a> |
<a href="{{ url_for('security.logout') }}">{{ _("Logout") }}</a> |
{% else %}
<a href="{{ url_for('security.login') }}">{{ _("Login SSO") }}</a>
{% endif %}
</div>