{% if user.is_authenticated %}
  • {% thumbnail user.get_profile.avatar "16x16" as im %} {{ user }} {% endthumbnail %} {% if user.first_name %}{{ user.first_name|escape }}{% else %}{{ user.username }}{% endif %}
    • {% trans "Profile" %}
    • {% if user.is_staff %}
    • {% trans "Admin" %}
    • {% endif %}
    • {% trans "Logout" %}
  • {% if 'notification' in INSTALLED_APPS %}
  • {% trans "Notifications" %}{% if notice_unseen_count %} ({{ notice_unseen_count }}){% endif %}
  • {% endif %}
  • {% trans "Settings" %}
  • {% else %}
  • {% trans 'Log In' %} {% trans "or" %} {% trans 'Register' %}

  • {% endif %}