{% load static %} {% block user_profile %} {% if user.profile.picture or user.picture %} {% block user_picture %} {% if user.profile.picture.url %} {% else %} {% endif %} {% endblock %} {% else %} {% endif %}
{% firstof user.get_short_name user.get_username %} {{ user.email|default_if_none:'' }}
{% endblock %}