{% extends "web/_base.html" %}
{% block navbar_left %}
    {{ block.super }}
    {% include "web/_workspace-menu.html" with workspace=workspace only %}
{% endblock %}
{% block title %}Workspace {{ workspace.name }}{% endblock %}
{% block content %}
    <h1>{{ workspace.name }} workspace</h1>
    <h2>Details</h2>
    <table class="table table-hover">
        <tbody>
            <tr>
                <th>Public</th>
                <td>{{ workspace.public|yesno:"yes,no" }}</td>
            </tr>
            <tr>
                <th>Default expiration delay (days)</th>
                <td>{{ workspace.default_expiration_delay.days|default:"Never" }}</td>
            </tr>
        </tbody>
    </table>
    <h2>Collections</h2>
    {% include "web/_collection-list.html" with collection_list=collections only %}
{% endblock %}
