aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-06-01 04:34:35 -0400
committerbnewbold <bnewbold@manus.(none)>2007-06-01 04:34:35 -0400
commit38391b74bc6269e4b969b0b0e9223c1b7d0a7cf4 (patch)
treef340ee6db2eee4bd8dbbe43e4a25b3212109df4b /bn_django/photos/templates
parent4f161df1591959b6052ba966addfce88f84d3ab2 (diff)
downloadbnewnet-38391b74bc6269e4b969b0b0e9223c1b7d0a7cf4.tar.gz
bnewnet-38391b74bc6269e4b969b0b0e9223c1b7d0a7cf4.zip
fixed gallery thumbs display
Diffstat (limited to 'bn_django/photos/templates')
-rw-r--r--bn_django/photos/templates/photos/gallery_detail.html8
1 files changed, 5 insertions, 3 deletions
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 %}
<br />
{% if object.photo_set.count %}
-
+<table width="100%" class="thumbs">
{% for item in object.photo_set.all %}
-<span class="photo_thumb">
+ {% cycle <tr/>,&nbsp;,&nbsp;,&nbsp; %}
+ <td class="photo_thumb">
<a href="../detail/{{ item.id }}">
<img src="{{ item.thumburl }}"
alt="{{ item.title }}" />
<!--<a href="../detail/{{ item.id }}" class="caption">{{ item.title }}</a>
</a> -->
+ </td>
-</span>
{% endfor %}
+</table>
{% else %}
<p>There are no photos in this gallery. If you just uploaded a batch