{% load i18n %} {% load foirequest_tags %}
{% include "foirequest/snippets/attachment_item.html" %} {% if attachment.redacted %} {% blocktrans %}protected original{% endblocktrans %} {% endif %} {% if attachment.converted %} {% blocktrans %}protected original{% endblocktrans %} {% endif %} {% if attachment.approved %} {% if object.public %} {% blocktrans %}public{% endblocktrans %} {% else %} {% blocktrans %}visible to you{% endblocktrans %} {% endif %} {% endif %} {% if attachment.is_redacted %} {% blocktrans %}redacted{% endblocktrans %} {% endif %}
{% if attachment.can_redact and object|can_write_foirequest:request %} {% trans "Redact" %} {% endif %}