{% extends "base.html" %} {% load review_tags %} {% block body %} {% for datum in comment_data %} {% if not forloop.first %} {% endif %} {% endfor %}

{% include 'includes/icon.html' with icon='comment' %} {% if datum.comments|length_is:"1" %} Добавлен новый комментарий {% else %} Добавлены новые комментарии {% endif %} в ревью сотрудника {% staff_person datum.person_review.person %}
{% for comment in datum.comments %} {% if not forloop.first %} {% endif %} {% with person=comment.subject date=comment.updated_at %} {% endwith %}
{% include "includes/avatar.html" with person=person %} {% staff_person person %} {{ date|date_from_str:"j E" }}, в {{ date|date_from_str:'H:i' }}

{% autoescape off %} {{ comment.text_wiki }} {% endautoescape %}

{% endfor %}
{% endblock body %}