diff options
Diffstat (limited to 'bn_django/photos/templates/photos/gallery_detail.html')
-rw-r--r-- | bn_django/photos/templates/photos/gallery_detail.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html deleted file mode 100644 index 0b3a4af..0000000 --- a/bn_django/photos/templates/photos/gallery_detail.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends "photos/base.html" %} -{# {% load markup %} #} -{% block path %} -{{ block.super }} -{% if object %} - » - <a href="../{{ object.slug }}/">{{ object.title }}</a> -{% endif %} {% endblock %} -{% block title %} -{% if object %}Photo Set: {{ object.title }} {% endif %} -{% endblock %} -{% block content %} -{% if object %} -{% if object.photo_set.count %} -<table width="100%" class="thumbs"> -{% for item in object.photo_set.all %} {% cycle <tr/>, , , %} - <td class="photo_thumb"> - <a href="../detail/{{ item.id }}/"> - <img src="{{ item.thumburl }}" - alt="{{ item.title }}" /> - </td> {% endfor %} -</table> -{% else %} -<p>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.</p> {% endif %} - -<!-- -{% if not user.is_anonymous %} -<p> - <a href="{{ object.get_admin_url }}">Edit this gallery.</a><br/> - <a href="{{ admin_url }}/photos/photo/add/">Add a photo to - this gallery.</a><br/> - <a href="{{photos_url}}/import/{{ object.id }}/">Add a bunch - of photos to this gallery.</a> -</p> -{% else %} -<p> - <a href="/accounts/login/?next={{ request.path }}"> - Login</a> to add or edit photos -</p> -{% endif %} ---> -{% else %} <p>This is not the gallery you are looking for.</p> {% endif %} -{% endblock %} |