aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2007-02-24 21:38:38 -0800
committerBryan Newbold <bnewbold@animus.robocracy.org>2007-02-24 21:38:38 -0800
commit71520ba4e171195c983320b9c00e37c215fad39c (patch)
tree680c3bcfb72600cb6a167c92f5d39c7fd5a38833 /bn_django/photos
parentcfeab0aadf7ba357a997c4a0203bcf4176ecc0d3 (diff)
downloadbnewnet-71520ba4e171195c983320b9c00e37c215fad39c.tar.gz
bnewnet-71520ba4e171195c983320b9c00e37c215fad39c.zip
i'm confused?
Diffstat (limited to 'bn_django/photos')
-rw-r--r--bn_django/photos/templates/photos/base.html4
-rw-r--r--bn_django/photos/templates/photos/gallery_detail.html4
-rw-r--r--bn_django/photos/templates/photos/gallery_list.html1
-rw-r--r--bn_django/photos/templates/photos/photo_detail.html5
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> &raquo;
{% if object %}
- &raquo;
<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 }}
- &raquo;
+ <a href="../..">photos</a> &raquo;
<a href="../../{{ object.gallery.id }}">{{ object.gallery.title }}</a>
- &raquo;
- <a href="../{{ object.id }}">{{ object.title }}</a>
{% endblock %}
{% block title %}