diff options
Diffstat (limited to 'bn_django/photos/templates/photos/gallery_list.html')
-rw-r--r-- | bn_django/photos/templates/photos/gallery_list.html | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html deleted file mode 100644 index 11c7289..0000000 --- a/bn_django/photos/templates/photos/gallery_list.html +++ /dev/null @@ -1,57 +0,0 @@ -{% extends "photos/base.html" %} -{# {% load markup %} #} - -{% block title %}Photo Sets{% endblock %} - -{% block content %} -{% if object_list %} - <table width="100%"> - {% for item in object_list %} - <tr> - <td class="photo_thumb"> - <a href="{{ item.slug }}/"> - {% if item.first %} - <img src="{{ item.first.thumburl }}" - alt="{{ item.first.title }}" /> - {% else %} - (No photo available) - {% endif %} - </a> - </td><td style="vertical-align: top; padding-left: 14px;" > - <h3 style="font-size: 150%;"> - <a href="{{ item.slug }}/">{{ item.title }}</a></h3> - {{ item.photo_set.count }} photo{{ item.photo_set.count|pluralize}} - {% if item.first.date %} - starting in {{ item.first.date|date:"M, Y" }}{% endif %} - </td></tr> - {% endfor %} - </table> -{% else %} - <p>No galleries have been set up yet.</p> -{% endif %} - - -{% if is_paginated %} - -{% if has_previous %} -<a href="./?page={{ previous }}">« previous</a> | -{% endif %} -{% if has_next %} -<a href="./?page={{ next }}">next »</a> -{% endif %} -{% endif %} - -<!-- -{% if not user.is_anonymous %} -<p> - <a href="{{admin_url}}/photos/gallery/add/">Create a new gallery.</a> -</p> -{% else %} -<p> - <a href="/accounts/login/?next={{ request.path }}"> - Login</a> to create a new gallery. -</p> -{% endif %} ---> - -{% endblock %} |