{# vim: set syntax=htmldjango: #}
{% extends "exordium/album.html" %}
{% load render_table from django_tables2 %}

{% block albumbody %}

<div class="zipfileinfo">
{% if error %}

<p class="red">{{ error }}</p>

{% else %}

<p>Album Zipfile created with the following contents:
<blockquote class="zipfilecontents">
{% for filename in filenames %}
{{ filename }}<br />
{% endfor %}
</ul>
</blockquote>

{% endif %}

{% if zip_url and zip_file %}<p><strong>Download:</strong>
<a href="{{ zip_url }}">{{zip_file}}</a></p>
<p>Zipfiles are configured to remain on the server for about 48 hours before being removed.
{% if zip_mtime %}This file was generated at: {{ zip_mtime }}{% endif %}</p>
{% endif %}
</div>

{% endblock %}
