{# vim: set ts=2 et sts=2 sw=2: #}
{% if media_list.object_list %}
  <ol id="media-list">
    {% for m in media_list.object_list %}
      <li>
        <a href="{{ m.get_absolute_url() }}" title="{{ m.title }}">
          <img src="{{ m.thumbnail_url_if_set() }}" alt="{{ m.title }}" />
        </a>
      </li>
    {% endfor %}
  </ol>
  {{ media_list|paginator }}
{% else %}
  <p>{{ _('No media files found.') }}</p>
{% endif %}
