{% if pagename == "list" %}
{% include "analyses/cases/_list_image.html" %}
{% if images %}
{% if images.has_previous %}
{% endif %}
Page {{ images.number }} of {{ images.paginator.num_pages }}
{% if images.has_next %}
{% endif %}
{% endif %}
{% elif pagename == "thumb" %}
{% include "analyses/cases/_thum_image.html" %}
{% if images %}
{% if images.has_previous %}
{% endif %}
Page {{ images.number }} of {{ images.paginator.num_pages }}
{% if images.has_next %}
{% endif %}
{% else %}
Warning! there are not any photos.
{% endif %}
{% elif pagename == "map" %}
{% include "analyses/cases/_map_image.html" %}
{% endif %}