{% extends "base.html" %} {% block title %}Repair — Paperful{% endblock %} {% block body_attrs %}{% if poll_run %} data-poll-run="{{ poll_run }}"{% endif %}{% endblock %} {% block content %}

Repair

{% if error == 'collection' %}
Pick a collection in the chip first.
{% endif %} {% if error and error != 'collection' %}
{{ error }}
{% endif %} {% if run_rec %}

Last run

Last run: {{ run_rec.verb }} — {{ run_rec.status }}{% if run_rec.error %} — {{ run_rec.error }}{% endif %}

{% if run_rec.summary %}
{{ run_rec.summary }}
{% endif %}
{% endif %} {% for q in queues %}

{{ q.verb }}

{% if q.files %}
Queued files ({{ q.files|length }})
{% endif %}

Preview / apply

{% if q.verb == 'fix-metadata' %} {% endif %} {% if q.verb == 'dedupe' %} {% endif %} {% if q.verb == 'attachments' %} {% endif %} {% if q.verb == 'ocr' %} {% endif %}
{% if q.verb != 'lint' and run_rec and run_rec.verb == q.verb and run_rec.review_token and run_rec.status == 'done' %}
{% elif q.verb == 'lint' %}

Lint is read-only; Preview writes the report.

{% endif %}
{% endfor %} {% endblock %}