{% extends "photologue:photologue/photo_detail.html" %} {% load photologue_tags i18n %} {% block title %}{{ object.title }}{% endblock %} {% block content %} {% for gallery in object.public_galleries %}
{% if gallery.content.exists %} {% endif %}
From gallery {{ gallery.title }}
}
{% if object.public_galleries %}

{% trans "Other photos in the gallery" %}:

{% for photo in gallery.public %} {% endfor %}
{{ photo.title }}

{{ photo.caption|safe }} {{ photo.count }}

{% endif %} {% endfor %}
{% endblock %}