{% extends "custom_page/gallery/base.html" %} {% load flatblock_tags %} {% load thumbnail %} {% block title %}{{ block.super }}{% endblock %} {% block content_title %}{% endblock %} {%block head%}GALLERY LIST{%endblock%} {% block content %}
{{gallery.name}}({{gallery_count}} photos)
from the event {{gallery.event}}
{% for thumb in thumb_list %}
{%endfor%}
RELATED ALBUMS

{% for related_gallery in gallery_list %}
{{related_gallery}}
({{related_gallery.imagefile_set.all|length}} Photos)
{%for image_list in related_gallery.imagefile_set.all %} {%if forloop.counter < 5%}
{%endif%} {%endfor%}

{%endfor%}
{% endblock %}