From f240080cefc05855c3836c284cc2f619117d1f3d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 10 Feb 2008 23:53:40 -0500 Subject: switched to slugs for photo sets; also call them sets. TODO: rename galleries sets in code --- bn_django/photos/templates/photos/gallery_detail.html | 4 ++-- bn_django/photos/templates/photos/gallery_list.html | 6 +++--- bn_django/photos/templates/photos/photo_detail.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'bn_django/photos/templates') diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html index ef08807..2de76d7 100644 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ b/bn_django/photos/templates/photos/gallery_detail.html @@ -4,10 +4,10 @@ {{ block.super }} {% if object %} » - {{ object.title }} + {{ object.title }} {% endif %} {% endblock %} {% block title %} -{% if object %} Gallery: {{ object.title }} {% endif %} +{% if object %}Photo Set: {{ object.title }} {% endif %} {% endblock %} {% block content %} {% if object %}
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 %} - + {% if item.first %} {{ item.first.title }} @@ -18,7 +18,7 @@ {% endif %} -

{{ item.title }}

+

{{ item.title }}


{{ item.photo_set.count }} photo{{ item.photo_set.count|pluralize}} {% if item.first.date %} diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html index 3b582b1..ac1eb3b 100644 --- a/bn_django/photos/templates/photos/photo_detail.html +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -5,7 +5,7 @@ {% block path %} {{ block.super }} » - {{ object.gallery.title }} + {{ object.gallery.title }} » {{ object.title }} {% endblock %} -- cgit v1.2.3