From 3399247f64ab4a184cc6000c3054e0e206fb0172 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 Aug 2007 21:12:41 -0700 Subject: more IE compatability changes --- .../photos/templates/photos/gallery_detail.html | 34 +++++----------------- 1 file changed, 8 insertions(+), 26 deletions(-) (limited to 'bn_django/photos/templates/photos/gallery_detail.html') diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html index da374b1..ef08807 100644 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ b/bn_django/photos/templates/photos/gallery_detail.html @@ -1,44 +1,30 @@ {% extends "photos/base.html" %} {# {% load markup %} #} - {% block path %} {{ block.super }} {% if object %} » {{ object.title }} -{% endif %} -{% endblock %} - +{% endif %} {% endblock %} {% block title %} -{% if object %} -Gallery: {{ object.title }} -{% endif %} +{% if object %} Gallery: {{ object.title }} {% endif %} {% endblock %} - {% block content %} -{% if object %} -
+{% if object %}
{% if object.photo_set.count %} -{% for item in object.photo_set.all %} - {% cycle , , ,  %} +{% for item in object.photo_set.all %} {% cycle , , ,  %} - -{% endfor %} + {% endfor %}
{{ item.title }} - -
- {% else %}

There are no photos in this gallery. If you just uploaded a batch of photos, try hitting your browser's reload button to see if they -show up.

-{% endif %} -   +show up.

{% endif %} +  - -{% else %} -

This is not the gallery you are looking for.

-{% endif %} - +{% else %}

This is not the gallery you are looking for.

{% endif %} {% endblock %} -- cgit v1.2.3