{% extends "base.html" %} {% from 'includes/file.macro.html' import show_files %} {% from 'includes/moment.macro.html' import print as print_date with context %} {% from 'group/includes/comments.macro.hrml.html' import show_comments, new_comment with context %} {% block title %}Ответ на задание "{{ publication.title }}" (группа {{ group.name }}){% endblock %} {% block head %} {{ super() }} {% include 'includes/moment.js.html' %} {% if allow_files %} {% include 'includes/file_loads.js.html' %} {% endif %} {% endblock %} {% block content %}
{{ print_date(publication.created) }} {% if publication.created != publication.edited %} (изменено: {{ print_date(publication.edited) }}) {% endif %}
{%- if mark is not none -%} {{ mark }} {%- else -%} - {%- endif -%} /{{ max_mark }}
{{ print_date(answer.date) }}
{% if answer.text %}{{ answer.text }}
{% endif %} {{ show_files(answer.files) }}{%- if mark is not none -%} {{ mark }} {%- else -%} - {%- endif -%}/{{ publication.max_mark }}