{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% block content %}
{{- breadcrumbs() }}

{{ story.title }}
{% include 'includes/story_header_info.html' %}
{% if not story.original %} перевод{% endif %} {% if story.finished %} завершен{% endif %}{% if story.freezed %} заморожен{% endif %} {% include 'includes/story_control_buttons.html' %}

{% if current_user.is_authenticated and not story.bl.is_author(current_user) %}
Ваша оценка: {% if vote %} {%- for i in range(1, 6) -%} {%- endfor -%} {% else %} {%- for i in range(1, 6) -%} {%- endfor -%} {% endif %}
{% endif %}

{%- include 'includes/story_reader_buttons.html' -%}

{%- for category in story.categories.order_by('c.id') -%} {{ category.name }} {%- endfor -%}

{%- for character in story.characters.order_by('c.id') -%} {{ character.name }} {%- endfor -%}

Написал: {% include 'includes/story_authors_list.html' %}

{{ story.summary_as_html }}
{% if story.notes %}
Заметки к рассказу:
{{ story.notes_as_html }}
{% endif %}

Подробности и статистика

{% if story.source_link %}

Источник: {{ story.source_title or story.source_link }}

{% endif %}

Рейтинг — {{ story.rating.name }}
События: {% for classifier in story.classifications.order_by('c.id') %}{{ classifier.name }}{% if not loop.last %}, {% endif %}{% endfor %}
{{ ngettext("%(num)d word", "%(num)d words", story.words) }}, {{ ngettext("%(num)d view", "%(num)d views", story.views) }}
{% if not story.first_published_at or current_user.is_staff or story.bl.is_author(current_user) %} Создан: {%- if not story.first_published_at %}, последнее изменение – {% endif %}
{% endif %} {% if story.first_published_at %} Опубликован: , последнее изменение –
{%- endif -%}

{% if chapters|length > 1 %}

Содержание

{% include "includes/story_panel.html" %}
    {% for chapter in chapters %}
  • {{ chapter.title }}

    {{ ngettext("%(num)d word", "%(num)d words", chapter.words) }}, {{ ngettext("%(num)d view", "%(num)d views", chapter.views) }}
  • {% endfor %}
{% elif chapters|length > 0 %} {% with chapter=chapters[0] %} {% include "includes/story_panel.html" %} {% include "includes/chapter_single.html" %} {% endwith %} {% endif %}
{% if comments_count > 0 %}

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

{% include 'includes/comments_tree.html' %}
{% endif %} {% if story.bl.can_comment_by(current_user) %} Добавить новый комментарий
{% from 'macro.html' import comment_form_content %} {{ comment_form_content(comment_form, 'story', story.id) }}
{% elif current_user.is_authenticated %}

К сожалению, Вы не можете добавлять комментарии

{% else %} Авторизуйтесь для отправки комментария. {% endif %}
{% endblock %} {%- block modal -%} {%- if story.nsfw and not current_user.nsfw -%} {%- include 'includes/nsfw_modal.html' -%} {%- endif -%} {%- endblock -%}