{% extends 'base/base.html' %} {% import 'input/textbox.html' as textbox with context %} {% import 'blog/macros.html' as blog with context %} {% block body %} {{ icon_defs('comment-empty') }}
{% for file in files_data %} {% if file.type == C.FILE_TYPE_FILE %}
{{file.name}}
{% if file.comments_url is defined %} {% trans %}comments{% endtrans %} {% if file.comments_count %} ({{file.comments_count}}) {% endif %} {{ icon('comment-empty', cls='icon--text') }}
{{ blog.show_items(file.comments, expanded=true, dates_fmt='relative') }}
{{- textbox.comment_or_login(service=file.comments_service, node=file.comments_node) -}}
{% endif %}
{% endif %} {% endfor %}
{% endblock body %}