aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/journal/templates/journal/imageartifact_list.html
blob: 6530773dc364242588bbf532eb5d9c9998535356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "journal/base.html" %}

{% block path %}<a href="/artifacts/">artifacts</a> 
  &raquo;<a href="/artifacts/images"> images</a>{% endblock %}

{% block title %}Uploaded Images{% endblock %}

{% block content %}
<br />
{% if object_list %}
<table width="100%" class="thumbs">
{% for item in object_list %} {% cycle <tr/>,&nbsp;,&nbsp;,&nbsp; %}
    <td class="photo_thumb">
    <a href="{{ item.id }}/">
    <img src="{{ item.thumburl }}"
        alt="{{ item.title }}" />
    </td> {% endfor %}
</table>
{% else %}
<p>There are no images!  If you just uploaded a batch
of photos, try hitting your browser's reload button to see if they
show up.</p> {% endif %}

{% if is_paginated %} {% if has_previous %}
<a href="./?page={{ previous }}">&laquo; previous</a> |
{% endif %} {% if has_next %}
<a href="./?page={{ next }}">next &raquo;</a>
{% endif %} {% endif %}
{% endblock %}