diff options
Diffstat (limited to 'bn_django/photos/templates/photos/photo_detail.html')
-rw-r--r-- | bn_django/photos/templates/photos/photo_detail.html | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/bn_django/photos/templates/photos/photo_detail.html b/bn_django/photos/templates/photos/photo_detail.html deleted file mode 100644 index 78b95fe..0000000 --- a/bn_django/photos/templates/photos/photo_detail.html +++ /dev/null @@ -1,111 +0,0 @@ -{% extends "photos/base.html" %} -{# {% load markup %} #} - -{% load comments %} - -{% block path %} - {{ block.super }} - » - <a href="../../{{ object.gallery.slug }}/">{{ object.gallery.title }}</a> - » - <a href="../{{ object.id }}">{{ object.title }}</a> -{% endblock %} - -{% block title %} -{% if object %} -{{ object.title }} -{% endif %} -{% endblock %} - -{% block content %} - -{% if object %} -<div class="right_stuff"> -{% if object.date %} -<p class="photodate">Photo taken {{ object.date }}{% if object.photographer %} -by {{ object.photographer }}.</p> -{% else %}.</p> -{% endif %} -{% else %} -{% if object.photographer %} -<p class="photographer">Photo by {{ object.photographer }}.</p> -{% endif %} -{% endif %} -</div> -{% if object.next %} -<div class="right_stuff" style="clear: right;"> -<div class="small-image-box"> -<br /><br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> - <a href="../{{ object.next.id }}/"> - Next:<br/> - <img src="{{ object.next.thumburl}}" alt="{{ object.next.title }}"/> - </a> -</div></div> - -{% endif %} -{% if object.prev %} -<div class="right_stuff" style="clear: right;"> -<div class="small-image-box"> -<br /> <br /><br /> <br /> - <a href="../{{ object.prev.id }}/"> - Previous:<br /> - <img src="{{ object.prev.thumburl}}" alt="{{ object.prev.title }}"/> - </a> -</div> -</div> -{% endif %} - -<center> -<div id="centerize"> - <a href="{{ object.fullurl }}"> - <img src="{{ object.dispurl }}" - alt="{{ object.title }}" /> - </a> - <div> - <p class="photodesc"> {{ object.desc|safe }} </p> - {% if object.extra %} - <h3 class="photoextra">More information</h3> - <p class="photoextra">{{ object.extra|safe }}</p> - {% endif %} - </div> -</div> -</center> -{% if object.prev %} - <a href="../{{ object.prev.id }}/" class="lefty"> - « previous - </a> -{% endif %} -{% if object.next %} - <a href="../{{ object.next.id }}/" class="righty"> - next » - </a> -{% endif %} -<br /> - -<!-- -{% if not user.is_anonymous %} -<p> - <a href="{{ admin_url }}/photos/photo/{{ object.id }}/"> - Edit this image. - </a> -</p> -{%else %} -<p> - <a href="/accounts/login/?next={{ request.path }}"> - Login</a> to edit this image. -</p> -{% endif %} ---> -{% else %} -<p>This is not the photo you are looking for.</p> -{% endif %} -{% endblock %} - -{% block commentary %} -<div class='content' id='commentary'> -<h3>Post a comment</h3> -{% render_comment_form for object %} -{% get_comment_list for object as comments %} -{% include "comment_list" %} -</div> -{% endblock %} |