From acfaf3460905054249509f9459a235d99a24f028 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 19 Feb 2007 00:28:16 -0800 Subject: forgot to add several photo files --- .../photos/templates/photos/photo_detail.html | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 bn_django/photos/templates/photos/photo_detail.html (limited to 'bn_django/photos/templates/photos/photo_detail.html') diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html new file mode 100644 index 0000000..d9c2177 --- /dev/null +++ b/bn_django/photos/templates/photos/photo_detail.html @@ -0,0 +1,96 @@ +{% extends "photos/base.html" %} +{# {% load markup %} #} + +{% block path %} + photos » + {{ object.gallery.title }} +{% endblock %} + +{% block title %} +{% if object %} +{{ object.title }} +{% endif %} +{% endblock %} + +{% block content %} + +{% if object %} +{% if object.next %} +
+
+ +{% endif %} + +{% if object.prev %} +
+ +
+{% endif %} +
+
+ + {{ object.title }} + +
+

{{ object.desc }}

+ {% if object.photographer %} +

Photo by {{ object.photographer }}.

+ {% endif %} + {% if object.date %} +

Photo taken {{ object.date }}.

+ {% endif %} + {% if object.extra %} +

More information

+

{{ object.extra }}

+ {% endif %} +
+
+
+{% if object.prev %} + + « previous + +{% endif %} +{% if object.next %} + + next » + +{% endif %} +
+ + +{% else %} +

This is not the photo you are looking for.

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