{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% block content %}
{{- breadcrumbs([[url_for('notices.index'), _('Notices')]]) }}
{{ notice.title }} {% if current_user.is_staff -%} {{ _('Edit') }} {%- endif %}
{{ content }}
{% if comments_count > 0 %}

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

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

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

{% else %} Авторизуйтесь для отправки комментария. {% endif %} {{- breadcrumbs([[url_for('notices.index'), _('Notices')]]) }}
{% endblock %}