aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/photos')
-rw-r--r--bn_django/photos/templates/photos/gallery_list.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html
index 39cb106..fffad30 100644
--- a/bn_django/photos/templates/photos/gallery_list.html
+++ b/bn_django/photos/templates/photos/gallery_list.html
@@ -17,11 +17,12 @@
(No photo available)
{% endif %}
</a>
- </td><td>
+ </td><td class="gallery_title">
<a href="{{ item.id }}/"><h3>{{ item.title }}</h3></a>
<br />
{{ item.photo_set.count }} photo{{ item.photo_set.count|pluralize}}
- starting {{ item.first.date }}
+ {% if item.first.date %}
+ starting in {{ item.first.date }}{% endif %}
</td></tr>
{% endfor %}
</table>