{% extends "layout_fluid.html" %} {% load breadcrumb %} {% load i18n %} {% load static %} {% block title %}{% trans "Archival storage" %}{% endblock %} {% block h1 %}{% trans "Archival storage" %}{% endblock %} {% block page_id %}archival-storage{% endblock %} {% block js %} {% endblock %} {% block extra_css %} {% endblock %} {% block extra_js %} {% endblock %} {% block content %} {% include "archival_storage/_archival_storage_search_form.html" %} {% if results %} {% if not file_mode %}
{% csrf_token %} {{ aic_creation_form }}
{% endif %}
{% include "_pager.html" %}
{% if not file_mode %} {% if show_aics %} {% endif %} {% for term_usage in results %} {% if show_aics %} {% endif %} {% endfor %}
{% trans "AIP" %} {% trans "Size" %} {% trans "UUID" %}{% trans "AIC" %}{% trans "Files" %} {% trans "Date stored" %} {% trans "Status" %} {% trans "Encrypted" %} {% trans "Actions" %}
{{ term_usage.name }} {% if term_usage.size %} {{ term_usage.size }} {% else %} {% trans "Unknown" %} {% endif %} {{ term_usage.uuid }} {% if term_usage.type == 'AIC' %} {{ term_usage.AICID }} ({{ term_usage.countAIPsinAIC }} AIP{{ term_usage.countAIPsinAIC|pluralize }} in AIC) {% elif term_usage.isPartOf %} {% blocktrans with item=term_usage.isPartOf %} Part of {{ item }} {% endblocktrans %} {% else %} {% trans "None" %} {% endif %} {{ term_usage.count }} file{{term_usage.count|pluralize}} {{ term_usage.created }} {{ term_usage.status }} {{ term_usage.encrypted }} {% trans "View" %}
{% else %}
{% trans "File(s)" %}
{% trans "AIP(s)" %}

{% for item in results %}
{% if item.sipname %}
{{ item.filename }}
{{ item.fileuuid }}
{{ item.sipname }} {{item.AIPUUID}}
({% trans "view raw" %})
{% else %} ({% blocktrans with uuid=item.AIPUUID %}AIP {{ uuid }} details missing from database.{% endblocktrans %}) {% endif %}

{% endfor %} {% endif %}
{% include "_pager.html" %}
{% else %}
{% trans "No results, please try another search." %}
{% endif %} {% endblock %}