{% load i18n %} {% load ifsetting_tag %}
{% if user.is_authenticated %}

{{user}}

Account
{% if user.is_staff %}
Admin
{% endif %}
Log out
{% else %} {% if account %}
Log In
{% endif %} {% ifsetting ACCOUNT_OPEN_SIGNUP %}
Sign Up
{% endifsetting %} {% endif %}