{% load i18n ifsetting_tag account_tags openid_tags %} {% if user.is_authenticated %} {% ifopenid %}Logged in with OpenID{% endifopenid %}{% user_display user %} | Account | {% if user.is_staff %} Admin | {% endif %} Logout {% else %} Log in or Sign Up {% endif %}