{% import "widget/post.html" as post_widget %} {% macro render(report, post, thread, view_ips=False, ip4_to_str=None, show_ban_button=False) %}
/{{ thread.board.name }}/{{ thread.id }}#{{ post.refno }} reported {{ report.count|pluralize('once', report.count ~ ' times') }}
{{ report.date|time_remaining }}
{% if view_ips %} IP: {{ ip4_to_str(report.post.ip4) }} {% endif %}
{{ post_widget.render(post, thread, file_position='top', link_refno=True) }}
{{ csrf_html() }} {% if post.has_file %} {% endif %} {% if show_ban_button %} {% endif %}
{% endmacro %}