{% extends request.is_ajax|yesno:'bajax.html,base.html' %} {% block main %} {% include 'message_block.html' %}
{% if userprofile.avatar %} ava {% else %} ava {% endif %}
{% if userprofile == request.user %} Редактировать {% endif %} Дать задачу

{{ userprofile.username|default:"<Нет ника>" }}

{% block content %}{% endblock %}
{% endblock %}