diff options
Diffstat (limited to 'bn_django')
-rw-r--r-- | bn_django/photos/templates/photos/gallery_list.html | 23 |
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"> - + <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> {{ 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 %} |