diff options
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 %} |