Photos

0 selected
{{ photos | length }} in inventory
{% set counts = usage_counts if usage_counts is defined else {} %}
{% for photo in photos if photo_filter == 'all' or (photo.available and counts.get(photo.id, 0) == 0) %} {% set uses = counts.get(photo.id, 0) %}
{% if photo.available %} {{ photo.filename }} {% else %} {% endif %}
{{ photo.filename }} {% if uses > 1 %} ! {% endif %}
{% else %}

{% if photos %}No unused photos.{% else %}No photos scanned yet.{% endif %}

{% endfor %}