{% extends "admin/core/base.html" %} {% load securitytags %} {% load files %} {% load foundation %} {% block title %}#{{ proofing_task.pk }} - {{ proofing_task.proofreader.full_name }}{% endblock %} {% block title-section %}#{{ proofing_task.pk }} - {{ proofing_task.proofreader.full_name }}{% endblock %} {% block title-sub %}#{{ article.pk }} / {{ article.correspondence_author.last_name }} / {{ article.safe_title }}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% include "elements/breadcrumbs/proofing_manager_base.html" with subpage="yes" %}
  • #{{ proofing_task.pk }} - {{ proofing_task.proofreader.full_name }}
  • {% endblock breadcrumbs %} {% block body %}
    {% csrf_token %}

    Manage Assignment

    {% if not proofing_task.accepted and not proofing_task.completed %} {% include "elements/forms/errors.html" %}
    Galleys

    Select the Galleys for this proofing task.

    {% for galley in article.galley_set.all %} {% can_view_file galley.file as can_view_file_flag %} {% can_view_file_history galley.file article as can_view_file_history_flag %} {% endfor %}
    Label Filename Type Download History
    {{ galley.label }} {{ galley.file.original_filename|truncatechars:40 }} Galley {% if can_view_file_flag %}  {% endif %} {% if can_view_file_history_flag %}  {% endif %}
    {{ form.task|foundation }} {{ form.due|foundation }} {% else %}

    This task is either underway, declined or completed and as such cannot be edited.

    {% endif %}

    Actions

    {% if proofing_task.status.slug == 'declined' %}

    You can reset this task if it has ben inadvertently declined by the proofreader.

    {% elif proofing_task.status.slug == 'completed' %}

    This task has been completed and cannoted be deleted via this interface.

    {% else %}

    You can delete the proofreading assignment using the button below. Some information will be retained in the journal logs. If the assignment has already been completed you will not be allowed to delete it.

    {% endif %}
    {% endblock %} {% block js %} {% include "elements/datepicker.html" with target="#id_due" %} {% include "elements/jqte.html" %} {% endblock %}