{% extends base_template %}
{% 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 %}
    
{{ collection.name }}@{{ collection.category }} collection
    Details
    
        
            
                | Full history retention period (days) | {{ collection.full_history_retention_period.days|default:"Always" }} | 
            
                | Metadata only retention period (days) | {{ collection.full_history_retention_period.days|default:"Always" }} | 
            
                | Retains artifacts | {{ collection.get_retains_artifacts_display }} | 
            {% if collection.workflow %}
                
                    | Workflow | {{ collection.workflow }} | 
            {% endif %}
        
    
    {% if data %}
        
    {% endif %}
    Contents
    {% if not collections and not artifacts and not bare %}
        The collection is empty
    {% else %}
        Browse collection
    {% 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
        
            
                
                    | Name | Category | 
            
            
                {% for i in bare %}
                    
                        | {{ i.name }} | {{ i.category }} | 
                {% endfor %}
            
        
    {% endif %}
{% endblock %}