aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bn_django/photos/templates/photos/gallery_list.html5
-rw-r--r--static/style/default.css2
2 files changed, 5 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>
diff --git a/static/style/default.css b/static/style/default.css
index 1436897..b743e5b 100644
--- a/static/style/default.css
+++ b/static/style/default.css
@@ -200,6 +200,8 @@ pre.large {
margin: 0px;
border: none;
text-align: center; }
+td.gallery_title {
+ padding-left: 14px; }
table.thumbs tr {
padding: 0px;
margin: 0px; }