{% if photos %}
{% for photo in photos %}
{% if photo.available %} {{ photo.filename }} {% else %} {% endif %}
{{ photo.filename }} {% if photo.id in assigned_ids %}assigned{% endif %} {% if not photo.available %}missing{% endif %}
{% endfor %}
{% else %}

No photos scanned yet.

{% endif %}