{% extends "base/base.html" %} {% load static %} {% block title %} Build solution pdfs {% endblock title %} {% block page_heading %} Build solution pdfs {% endblock page_heading %} {% block main_content %}
{% if n_outdated %} Download zip of solutions some papers outdated {% elif n_complete == n_papers %} Download zip of solutions {% elif n_complete %} Download zip of solutions warning - not all solutions built {% else %} Download zip of solutions {% endif %}
{% for row in papers %} {% if row.scanned %} {% endif %} {% endfor %}
# Identified When ID'd Build Status When built Action
{{ row.paper_num }} {% if row.identified %} {{ row.student_id }} {% else %} {% endif %} {{ row.when_id_done_humanised }} {% if row.scanned %} {% if row.build_soln_status == "Starting" or row.build_soln_status == "Queued" or row.build_soln_status == "Running" %} {% elif row.build_soln_status == "Error" %} {% elif row.build_soln_status == "Complete" %} {% endif %} {{ row.build_soln_status }} {% else %} not ready {% endif %} {% if row.build_soln_time %} {% if row.outdated %} outdated {% else %} {{ row.build_soln_time_humanised }} {% endif %} {% else %} {% endif %} {% if row.build_soln_time %} {% if row.outdated %} view {% else %} view {% endif %} {% else %} {% if row.identified and row.build_soln_status != "Starting" and row.build_soln_status != "Queued" and row.build_soln_status != "Running" %} {% else %} {% endif %} {% endif %}
{% if n_queued %} {% endif %} {% endblock main_content %}