aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos/templates/photos/gallery_list.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-06-01 04:49:58 -0400
committerbnewbold <bnewbold@manus.(none)>2007-06-01 04:49:58 -0400
commit918a663e09e84b36eca886116535e7150ef0d896 (patch)
treec5584c0a80606ef2d5395cb619adbd49e1106a75 /bn_django/photos/templates/photos/gallery_list.html
parent38391b74bc6269e4b969b0b0e9223c1b7d0a7cf4 (diff)
downloadbnewnet-918a663e09e84b36eca886116535e7150ef0d896.tar.gz
bnewnet-918a663e09e84b36eca886116535e7150ef0d896.zip
gallery listing as a table
Diffstat (limited to 'bn_django/photos/templates/photos/gallery_list.html')
-rw-r--r--bn_django/photos/templates/photos/gallery_list.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html
index b709092..39cb106 100644
--- a/bn_django/photos/templates/photos/gallery_list.html
+++ b/bn_django/photos/templates/photos/gallery_list.html
@@ -5,27 +5,28 @@
{% block content %}
{% if object_list %}
-<div id="thumbnail-box">
- <div id="thumbnails">
+ <table with="100%">
{% for item in object_list %}
- <div class="lefty">
- &nbsp; &nbsp;&nbsp;
+ <tr>
+ <td class="photo_thumb">
<a href="{{ item.id }}/">
{% if item.first %}
<img src="{{ item.first.thumburl }}"
alt="{{ item.first.title }}" />
{% else %}
- No photo available
+ (No photo available)
{% endif %}
</a>
- </div>
- <br /> <br /><a href="{{ item.id }}/"><h3> &nbsp;&nbsp;{{ item.title }}</h3></a>
- <br /> <br /> <br /> <br />
+ </td><td>
+ <a href="{{ item.id }}/"><h3>{{ item.title }}</h3></a>
+ <br />
+ {{ item.photo_set.count }} photo{{ item.photo_set.count|pluralize}}
+ starting {{ item.first.date }}
+ </td></tr>
{% endfor %}
- </div>
-</div>
+ </table>
{% else %}
-<p>No galleries have been set up yet.</p>
+ <p>No galleries have been set up yet.</p>
{% endif %}