{% extends "base.html" %} {% block title %}{{ _("Documents from Paperless") }} · {{ account.name }}{% endblock %} {% block heading %}{{ _("Documents from Paperless") }}{% endblock %} {% block lede %}

{{ _f("Which documents in the archive belong to {account}. Everything named has to hold at once — every tag, that correspondent, that type — so the pull can be surgical. The daily sync fetches whatever is new; nothing is read twice.", account=account.name) }}

{% endblock %} {% block content %}

{{ _("This account's documents") }}

{{ _("Leave them all blank and this account pulls nothing.") }}

{% if preview %}

{{ _("What this would pull") }}

{{ _n(preview.matched, "{n} document in the archive matches", "{n} documents in the archive match") }}
{% if preview.documents %}
{% for d in preview.documents %} {% endfor %}
{{ _("Document") }}{{ _("Filed") }}{{ _("State") }}
{{ d.title }} {{ d.created }} {% if d.state == 'imported' %}{{ _("already read") }}{% elif d.state %}{{ _(d.state) }}{% else %}{{ _("new") }}{% endif %}
{% if preview.matched > preview.shown %}

{{ _f("The first {shown} of {matched} are shown.", shown=preview.shown, matched=preview.matched) }}

{% endif %} {% else %}

{{ _("Nothing in the archive matches all of these at once.") }}

{% endif %}
{% endif %}

{{ _("Back to the account") }}

{% endblock %}