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 +++++----------------- .../photos/templates/photos/photo_detail.html | 14 ++++----- 2 files changed, 13 insertions(+), 35 deletions(-) (limited to 'bn_django/photos') 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 %} diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html index a2a28c2..3b582b1 100644 --- a/bn_django/photos/templates/photos/photo_detail.html +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -20,31 +20,27 @@ {% if object %} {% if object.next %} -
+ {% endif %} - {% if object.prev %} -