{# P8: per-run discovery detail page — paper cards with Relink + Re-extract buttons. #} {# Bundle H: refactored to use _partials/paper_card.html. #} {% extends "base.html" %} {% block title %}Discovery Run #{{ run.id }} — lit-monitor{% endblock %} {% block content %}
{% if not papers %}

No papers recorded for this run.

{% else %}
{% for p in papers %} {% with paper=p, show_action_buttons=true, show_feedback_buttons=show_feedback_buttons, feedback_source="discovery", card_index=loop.index %} {% include "_partials/paper_card.html" %} {% endwith %} {% endfor %}
{% endif %}
{% endblock %}