Mercurial > public > madeira
annotate mysite/templates/band/videos.html @ 29:f61db5f82549
When displaying photos, display by id, ascending.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 05 Apr 2011 23:05:55 +0000 |
parents | efb2da0b5d10 |
children | 25e00d1b99bf |
rev | line source |
---|---|
bgneal@1 | 1 {% extends 'band/base.html' %} |
bgneal@26 | 2 {% load url from future %} |
bgneal@1 | 3 {% block title %}The Madeira | Videos{% endblock %} |
bgneal@1 | 4 {% block content %} |
bgneal@1 | 5 <h1>Madeira Videos</h1> |
bgneal@1 | 6 {% if vidsets %} |
bgneal@1 | 7 <ul> |
bgneal@1 | 8 {% for set in vidsets %} |
bgneal@26 | 9 <li><a href="{% url 'mysite.band.views.video_detail' set.id %}">{{ set.title }}</a></li> |
bgneal@1 | 10 {% endfor %} |
bgneal@1 | 11 </ul> |
bgneal@1 | 12 {% else %} |
bgneal@1 | 13 No videos available at this time. |
bgneal@1 | 14 {% endif %} |
bgneal@1 | 15 {% endblock %} |