{% load i18n static %} {% if site_url %} {% trans 'View site' %} {% endif %} {% if user.is_active and user.is_staff %} {% url 'django-admindocs-docroot' as docsroot %} {% if docsroot %} {% trans 'Documentation' %} {% endif %} {% endif %} {% if user.has_usable_password %} {% trans 'Change password' %} {% endif %} {% trans 'Log out' %}