diff options
author | Bryan Newbold <bnewbold@charm.mit.edu> | 2008-02-10 23:53:40 -0500 |
---|---|---|
committer | Bryan Newbold <bnewbold@charm.mit.edu> | 2008-02-10 23:53:40 -0500 |
commit | f240080cefc05855c3836c284cc2f619117d1f3d (patch) | |
tree | 79cacac4118c2b7d5204f0730880a7ff98bf764d /bn_django/photos/templates/photos/gallery_list.html | |
parent | f6b6a7912dc984b7c9a0f74631f51a3ab44c15af (diff) | |
download | bnewnet-f240080cefc05855c3836c284cc2f619117d1f3d.tar.gz bnewnet-f240080cefc05855c3836c284cc2f619117d1f3d.zip |
switched to slugs for photo sets; also call them sets. TODO: rename galleries sets in code
Diffstat (limited to 'bn_django/photos/templates/photos/gallery_list.html')
-rw-r--r-- | bn_django/photos/templates/photos/gallery_list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html index bb4e797..1757a22 100644 --- a/bn_django/photos/templates/photos/gallery_list.html +++ b/bn_django/photos/templates/photos/gallery_list.html @@ -1,7 +1,7 @@ {% extends "photos/base.html" %} {# {% load markup %} #} -{% block title %}Photo Galleries{% endblock %} +{% block title %}Photo Sets{% endblock %} {% block content %} {% if object_list %} @@ -9,7 +9,7 @@ {% for item in object_list %} <tr> <td class="photo_thumb"> - <a href="{{ item.id }}/"> + <a href="{{ item.slug }}/"> {% if item.first %} <img src="{{ item.first.thumburl }}" alt="{{ item.first.title }}" /> @@ -18,7 +18,7 @@ {% endif %} </a> </td><td class="gallery_title"> - <h3><a href="{{ item.id }}/">{{ item.title }}</a></h3> + <h3><a href="{{ item.slug }}/">{{ item.title }}</a></h3> <br /> {{ item.photo_set.count }} photo{{ item.photo_set.count|pluralize}} {% if item.first.date %} |