Files @ 0de08369d703
Branch filter:

Location: CopyleftConf/copyleftconf-website/pinaxcon/templates/_account_bar.html

Joshua Simmons
responsive tooth pulling
{% load i18n %}
{% load account_tags %}

<ul class="nav navbar-nav pull-right">
    {% if request.user.is_authenticated %}
        <li>
            <a href="{% url "dashboard" %}"><i class="fa fa-tasks"></i> {% trans "Dashboard" %}</a>
        </li>
    {% else %}
        <li><a href="{% url 'account_login' %}">{% trans "Log in" %}</a></li>
        {% if ACCOUNT_OPEN_SIGNUP %}
            <li><a href="{% url 'account_signup' %}">{% trans "Sign up" %}</a></li>
        {% endif %}
    {% endif %}
</ul>

<form id="accountLogOutForm" action="{% url 'account_logout' %}" method="POST">
    {% csrf_token %}
</form>