Skip to content
Snippets Groups Projects
Commit e56585eb authored by Tim Fechner's avatar Tim Fechner
Browse files

Add includes folder with first includable template

nav_auth_buttons, which will provide log-in and log-out buttons
parent 79470600
Branches
Tags v1.2.1
No related merge requests found
{% load i18n %}
{% if user.is_authenticated %}
<span class="nav-item">{% trans "Logged in as" %} {{ user.username }}</span>
<span class="nav-item">
<a class="button is-white is-outlined" href="{% url 'sso-logout' %}">
<span class="icon"><i class="fa fa-sign-out"></i></span>
<span>{% trans "Log Out" %}</span>
</a>
</span>
{% else %}
<span class="nav-item">
<a class="button is-white is-outlined" href="{% url 'sso-login' %}">
<span class="icon"><i class="fa fa-sign-in"></i></span>
<span>{% trans "Log In" %}</span>
</a>
</span>
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment