{% extends "_base.html" %}
{% block title %}{{ super() }} Collections {% endblock %}
{% block crumbs %}{{ super() }}
/ <a href="./collections">Collections</a>
{% endblock %}
{% block body %}
    <section id="collections">
      <h1>Collections in this service</h1>
            <table class="striped">
              <thead>
              <tr>
                <th>Name</th>
                <th>Type</th>
                <th>Description</th>
              </tr>
              </thead>
              <tbody>
                {% for col in data['collections']  %}
                <tr>
                  <td data-label="name">
                    <a  title="{{ col['title'] | striptags | truncate }}"
                      href="{{ config['server']['url'] }}/collections/{{ col.id }}">
                      <span>{{ col['title'] | striptags | truncate }}</span></a>
                  </td>
                  <td data-label="type">{{ col["itemType"] }}</td>
                  <td data-label="description">
                    {{ col['description'] | striptags | truncate }}
                  </td>
                </tr>
                {% endfor %}
              </tbody>
            </table>
    </section>
{% endblock %}
