{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% block content %}
{% if stories|length > 0 %} Написал {{ ngettext("%(num)d story", "%(num)d stories", stories|length) }} {% else %} Пока ничего не написал {% endif %} и {% if comments_count > 0 %} оставил {{ ngettext("%(num)d comment", "%(num)d comments", comments_count) }}. {% else %} ничего не комментировал. {% endif %} {% if author.favorites|length > 0 %} Занес в избранное {{ ngettext("%(num)d story", "%(num)d stories", author.favorites|length) }}. {% endif %}
{% with contacts=author.contacts.select().order_by('c.id')[:] %}{% include 'includes/author_contacts.html' %}{% endwith %}