{% extends "base/base.html" %} {% load static %} {% block title %} Reassemble Papers {% endblock title %} {% block page_heading %} Reassemble Papers and Student Reports {% endblock page_heading %} {% block main_content %}
{% if partially_scanned_papers_abbrev_list %}
{{ partially_scanned_papers|length }} paper{{ partially_scanned_papers|length|pluralize }} may be missing pages(s) (see 'incomplete' papers): {{ partially_scanned_papers_abbrev_list }}
{% endif %}

{% if n_papers == 0 %} Download zip of all reassembled papers no papers reassembled yet {% else %} Download zip of all reassembled papers {% if n_outdated %} some papers outdated {% elif n_complete == n_papers %} {% elif n_complete %} not all papers reassembled {% endif %} {% endif %}
Select range of reassembled papers to download
First paper
Last paper
{% if n_complete %} Download zip of reassembled papers from to {% else %} Download zip of reassembled papers from to warning - no papers reassembled {% endif %}
{% for row in papers %} {% if row.used %} {% endif %} {% endfor %}
# Identified Marked Last updated Reassembly Status When reassembled Action
{{ row.paper_num }} {% if row.identified %} {{ row.student_id }} {% else %} {% endif %} {% if row.marked %} {% endif %} {{ row.number_marked }}/{{ n_questions }} {{ row.last_update_humanised }} {% if row.identified and row.marked %} {% if row.reassembled_status == "Starting" or row.reassembled_status == "Queued" or row.reassembled_status == "Running" %} {% elif row.reassembled_status == "Error" %} {% elif row.reassembled_status == "Complete" %} {% if row.outdated %} {% else %} {% endif %} {% else %} {% endif %} {{ row.reassembled_status }} {% if row.reassembled_status == "Error" %}
{{ row.reassembled_message }} {% endif %} {% if row.outdated %}
Outdated {% endif %} {% else %} Not ready {% endif %}
{% if row.reassembled_time %} {{ row.reassembled_time_humanised }} {% else %} {% endif %} {% if row.reassembled_time %} {% if row.outdated %} view view report {% else %} view view report {% endif %} {% else %} {% if row.identified and row.marked and row.reassembled_status != "Starting" and row.reassembled_status != "Queued" and row.reassembled_status != "Running" %} {% else %} {% endif %} {% endif %}
{% if n_queued %} {% endif %} {% endblock main_content %}