Mercurial > public > madeira
comparison mysite/templates/band/videos.html @ 26:efb2da0b5d10
Merging the django1.3 branch into trunk.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 30 Mar 2011 00:16:32 +0000 |
parents | 0dcfcdf50c62 |
children | 25e00d1b99bf |
comparison
equal
deleted
inserted
replaced
21:f3052378ab47 | 26:efb2da0b5d10 |
---|---|
1 {% extends 'band/base.html' %} | 1 {% extends 'band/base.html' %} |
2 {% load url from future %} | |
2 {% block title %}The Madeira | Videos{% endblock %} | 3 {% block title %}The Madeira | Videos{% endblock %} |
3 {% block content %} | 4 {% block content %} |
4 <h1>Madeira Videos</h1> | 5 <h1>Madeira Videos</h1> |
5 {% if vidsets %} | 6 {% if vidsets %} |
6 <ul> | 7 <ul> |
7 {% for set in vidsets %} | 8 {% for set in vidsets %} |
8 <li><a href="{% url mysite.band.views.video_detail set.id %}">{{ set.title }}</a></li> | 9 <li><a href="{% url 'mysite.band.views.video_detail' set.id %}">{{ set.title }}</a></li> |
9 {% endfor %} | 10 {% endfor %} |
10 </ul> | 11 </ul> |
11 {% else %} | 12 {% else %} |
12 No videos available at this time. | 13 No videos available at this time. |
13 {% endif %} | 14 {% endif %} |