{% for report_item in report_items %} {% endfor %}
{{ report_item.title }} {% if report_item.importance == 'OKR' %} {% elif report_item.importance == 'Key for company' %} ★★ {% elif report_item.importance == 'Key for department' %} {% endif %} {% if report_item.deadline is string %} {{ report_item.deadline }} {% else %} Без срока {% endif %}
{% for comment in report_item.latestComments %} {% if loop.first == 1 %} {% if short_comments and (comment.text|length > 450 or comment.text.count("\n") > 6) %}

{{ comment.text.replace("\n", "
") }}

Читать далее >
{% else %}

{{ comment.text.replace("\n", "
") }}

{% endif %} {% else %} {% if loop.last == 1 %} Еще комментарии > {% endif %} {% endif %}
{% else %}

Нет новых комментариев

{% endfor %} {% for metric in report_item.metrics %} {{ metric.text }} {% if metric.cached_img_file or metric.url %} {% endif %}
{% endfor %}