{% load i18n %}
{% trans "UUID" %} | {% trans "Description" %} | {% trans "Originating Pipeline" %} | {% trans "Current Location" %} | {% trans "Size" %} | {% trans "Type" %} | {% trans "Replicas" %} | {% trans "Is Replica Of" %} | {% trans "Pointer File" %} | {% trans "Status" %} | {% trans "Fixity Date" %} | {% trans "Fixity Status" %} | {% trans "Actions" %} |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ package.uuid }} | {{ package.description|default:_("None") }} | {% if package.origin_pipeline %} {{ package.origin_pipeline }} {% else %} {% trans "None" %} {% endif %} | {{ package.full_path }} | {{ package.size|filesizeformat }} | {{ package.get_package_type_display }} |
{% with package.replicas.all as replicas %}
{% if replicas %}
|
{% if package.replicated_package %} {{ package.replicated_package.uuid }} {% endif %} | {% if package.pointer_file_location %} {% trans "Pointer File" %} {% else %} {% trans "None" %} {% endif %} | {{ package.get_status_display }} {% if package.status != 'DELETED' and package.status != 'FAIL'%} ({% trans "Update Status" %}) {% endif %} | {{ package.latest_fixity_check_datetime|default_if_none:"" }} | {{ package.latest_fixity_check_result|yesno:_("Success,Failed,") }} | {% trans "Download" %} {% if package.package_type in 'AIP AIC' and not package.replicated_package %} {% trans "Re-ingest" %} {% endif %} {% if package.package_type in package.PACKAGE_TYPE_CAN_DELETE %} {% trans "Request Deletion" %} {% endif %} |