{% extends "base.html" %}
{% load review_tags %}
{% block body %}
{% for datum in comment_data %}
{% if not forloop.first %}
|
{% endif %}
{% 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 %}
{% include "includes/avatar.html" with person=person %}
|
|
{% staff_person person %}
|
|
{% endwith %}
{% endfor %}
|
{% endfor %}
{% endblock body %}