{% extends base_template %}
{% load debusine %}
{% block navbar_left %}
{{ block.super }}
{% include "web/_collection-menu.html" with collection=collection only %}
{% endblock %}
{% block title %}Collection {{ collection.name }}@{{ collection.category }}{% endblock %}
{% block content %}
{% ui collection as coll %}
Details
| Full history retention period (days) |
{% if collection.full_history_retention_period is None %}
Always
{% else %}
{{ collection.full_history_retention_period.days }}
{% endif %}
|
| Metadata only retention period (days) |
{% if collection.metadata_only_retention_period is None %}
Always
{% else %}
{{ collection.metadata_only_retention_period.days }}
{% endif %}
|
| Retains artifacts |
{{ collection.get_retains_artifacts_display }} |
{% if collection.workflow %}
| Workflow |
{{ collection.workflow }}
|
{% endif %}
{% if data %}
{% include "web/_card-body.html" with data=data only %}
{% endif %}
{% if coll.can_configure or coll.can_delete %}
{% if coll.can_configure %}{{ coll.place_update.as_button }}{% endif %}
{% if coll.can_delete %}{{ coll.place_delete.as_button }}{% endif %}
{% endif %}
Contents
{% if not collections and not artifacts and not bare %}
The collection is empty
{% else %}
{% place coll search as_button label="Search" %}
{% endif %}
{% if collections %}
Collections
{% endif %}
{% if artifacts %}
Artifacts
| Category |
Count current |
Count historical |
{% for a in artifacts %}
|
{{ a.category }}
|
{{ a.count }} |
{{ a.count_removed }} |
{% endfor %}
{% endif %}
{% if bare %}
Bare data
| Category |
Count current |
Count historical |
{% for i in bare %}
|
{{ i.category }}
|
{{ i.count }} |
{{ i.count_removed }} |
{% endfor %}
{% endif %}
{% endblock %}