{% load timestamp_fmt %} {% load math_filters %} {% block content %}
{% if item.manifest.timestamps.0 %} {{ item.manifest.timestamps.0|as_date }} {% else %} No date {% endif %}
{% if item.file_count %} {{ item.file_count }} files to import {% endif %}
{{item.manifest.investigations.0.author}}
Investigation {{item.manifest.investigations.0.name}}
Studies {% for study_id in item.manifest.investigations.0.children %} {% for study in item.manifest.studies %} {% if study.id == study_id %} Study {{study.name}}
Assays {% for assay_id in study.children %} {% for assay in item.manifest.assays %} {% if assay.id == assay_id %} Assay {{assay.name}}
{% endif %} {% endfor %} {% endfor %}
{% endif %} {% endfor %} {% endfor %}
{% with total_steps=item.manifest.route.stores|length|subtract:1|floatformat:0 %}
{% endwith %}
{% with item.manifest.states|last as last %}
{% endwith %}
{% endblock %}