diff options
Diffstat (limited to 'bn_django/photos')
4 files changed, 4 insertions, 10 deletions
diff --git a/bn_django/photos/templates/photos/base.html b/bn_django/photos/templates/photos/base.html index d229057..94d9808 100644 --- a/bn_django/photos/templates/photos/base.html +++ b/bn_django/photos/templates/photos/base.html @@ -1,5 +1 @@ {% extends "base.html" %} - -{% block path %} - <a href="/photos/">photos</a> -{% endblock %} diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html index 318091b..f9d1bd6 100644 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ b/bn_django/photos/templates/photos/gallery_detail.html @@ -2,9 +2,8 @@ {# {% load markup %} #} {% block path %} -{{ block.super }} + <a href="../">photos</a> » {% if object %} - » <a href="../{{ object.id }}">{{ object.title }}</a> {% endif %} {% endblock %} @@ -21,6 +20,7 @@ Gallery: {{ object.title }} {% if object.photo_set.count %} {% for item in object.photo_set.all %} + <span class="photo_thumb"> <a href="../detail/{{ item.id }}"> <img src="{{ item.thumburl }}" diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html index b709092..61225c4 100644 --- a/bn_django/photos/templates/photos/gallery_list.html +++ b/bn_django/photos/templates/photos/gallery_list.html @@ -1,6 +1,7 @@ {% extends "photos/base.html" %} {# {% load markup %} #} +{% block path %}photos{% endblock %} {% block title %}Photo Galleries{% endblock %} {% block content %} diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html index 10bf8ba..d9c2177 100644 --- a/bn_django/photos/templates/photos/photo_detail.html +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -2,11 +2,8 @@ {# {% load markup %} #} {% block path %} - {{ block.super }} - » + <a href="../..">photos</a> » <a href="../../{{ object.gallery.id }}">{{ object.gallery.title }}</a> - » - <a href="../{{ object.id }}">{{ object.title }}</a> {% endblock %} {% block title %} |