{% load i18n %} {% load heroicons primaryactions_tags %}
{% trans "Actions to take" %}
{% if object.is_archive %} {% heroicon_outline "lock-open" aria_hidden="true" size=16 stroke_width=2 class="inline align-baseline me-1" %} {% trans "Unarchive Submission" %} {% else %} {% if PROJECTS_ENABLED %} {% if object.accepted_for_funding and not object.project %} {% endif %} {% endif %} {% if object.ready_for_determination %} {% trans "Complete draft determination" as determination_draft %} {% include 'determinations/includes/determination_button.html' with submission=object class="button--bottom-space" draft_text=determination_draft %} {% endif %} {% if object.in_internal_review_phase or object.in_external_review_phase %} {% trans "Complete draft review" as review_draft %} {% include 'review/includes/review_button.html' with submission=object class="button--full-width button--bottom-space" draft_text=review_draft %} {% if object.in_external_review_phase or not object.has_all_reviewer_roles_assigned %} {% endif %} {% endif %} {% if object.is_finished %} {% with determination=object.determinations.last %} {% if determination %} {% trans "View determination" %} {% endif %} {% endwith %} {% endif %} {% show_progress_button request.user object as show_progress_form %}
{% trans "More actions" %} {% trans "Revisions" %} {% if can_archive %} {% endif %}
{% endif %}