From 38391b74bc6269e4b969b0b0e9223c1b7d0a7cf4 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 1 Jun 2007 04:34:35 -0400 Subject: fixed gallery thumbs display --- bn_django/photos/templates/photos/gallery_detail.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bn_django/photos') diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html index 318091b..da374b1 100644 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ b/bn_django/photos/templates/photos/gallery_detail.html @@ -19,17 +19,19 @@ Gallery: {{ object.title }} {% if object %}
{% if object.photo_set.count %} - + {% for item in object.photo_set.all %} - + {% cycle , , ,  %} + - {% endfor %} +
{{ item.title }} +
{% else %}

There are no photos in this gallery. If you just uploaded a batch -- cgit v1.2.3