diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-06-01 04:54:05 -0400 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-06-01 04:54:05 -0400 |
commit | cb57ad36b3546db9783a1310781c477f84e6e365 (patch) | |
tree | 16b13d3d956ac1660ffdbf089d53a8dcdd54aac1 | |
parent | 918a663e09e84b36eca886116535e7150ef0d896 (diff) | |
download | bnewnet-cb57ad36b3546db9783a1310781c477f84e6e365.tar.gz bnewnet-cb57ad36b3546db9783a1310781c477f84e6e365.zip |
padded left in gallery listing
-rw-r--r-- | bn_django/photos/templates/photos/gallery_list.html | 5 | ||||
-rw-r--r-- | static/style/default.css | 2 |
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; } |