{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% block content %}
{{- breadcrumbs(current=('Кабинет автора ' if author.stories.count() > 0 else 'Кабинет потенциального автора ') + author.username) }}

{{ author.username }} {{ author.username }} {#{% if author.stories.count() > 0 %}Кабинет автора{% else %}Кабинет потенциального автора{% endif %}#} {% if not author.is_active %} Read-only {% endif %}

{% if author.stories.count() > 0 %} Вы уже написали {{ ngettext("%(num)d story", "%(num)d stories", author.stories.count()) }}{% else %}Вы пока ничего не написали{% endif %}.
Читатели {% if all_views > 0 %} просмотрели ваши рассказы {{ ngettext("%(num)d time", "%(num)d times", all_views) }}, {% else %} пока не интересовались вашими рассказами, {% endif %} {% if comments_count > 0 %} и оставили {{ ngettext("%(num)d comment", "%(num)d comments", comments_count) }}. {% else %} не откомментировав их. {% endif %}

{% if series %}

Мои сборники

{% include "includes/series.html" %} {% endif %}

Мои рассказы Добавить рассказ

{% include "includes/stories.html" %}
{% if comments_count > 0 %}

Комментарии читателей ({{ comments_count }})

{% include "includes/story_comments_list.html" %}
{% include "includes/comments_pagination_author_dashboard.html" %} {% endif %}
{{- breadcrumbs(current=('Кабинет автора ' if author.stories.count() > 0 else 'Читательский билет ') + author.username) }}
{% endblock %}