{% load static %} {% if user.is_authenticated %} {% endif %} {% load static %} {{ BRAND_NAME }} {% if user.is_authenticated %} 0 {% endif %} {% if user.is_authenticated %} {% if user.avatar %} {% else %} {{ user.get_short_name|slice:":1"|upper }} {% endif %} {{ user.get_short_name }} {{ user.email }} Профиль Выйти {% else %} Войти Регистрация {% endif %} {% if user.is_authenticated %}