{% extends "documents/document.html" %}
{% from "macros/box.html" import m_box_content, m_box_menu with context %}
{% from "macros/audit.html" import m_audit_log %}
{% from "macros/table.html" import m_table %}
{% from "documents/_macros.html" import m_docs_table, m_breadcrumbs2 with context %}
{%- from "community/macros.html" import viewers_snapshot -%}
{%- from "community/macros.html" import show_all_viewers -%}
{% macro user_markup(user) %}
{{ user }}
{% endmacro %}
{% block content %}
{% call m_box_content(title=_("Document view")) %}
{%- if doc.antivirus_required %}
{% trans %}Waiting for virus check...{% endtrans %}
{%- elif not doc.antivirus_ok %}{%- trans %}Virus found. Access disabled.{%- endtrans %}
{%- endif %}{{ doc.description }}
{%- endif %} {% endcall %} {% endblock %}