comparison mysite/templates/band/songs.html @ 1:0dcfcdf50c62

Initial import of Madeira project from the private repository.
author Brian Neal <bgneal@gmail.com>
date Mon, 06 Apr 2009 03:10:59 +0000
parents
children
comparison
equal deleted inserted replaced
0:df0370bfe3f0 1:0dcfcdf50c62
1 {% extends 'band/base.html' %}
2 {% block title %}The Madeira | Songs{% endblock %}
3 {% block content %}
4 <h1>Madeira Songs</h1>
5 {% if mp3Sets %}
6 <p>Check out some Madeira MP3 downloads!</p>
7 {% for set in mp3Sets %}
8 <h2>{{ set.title }}</h2>
9 {{ set.text|safe|linebreaks }}
10 <ul>
11 {% for mp3 in set.mp3_set.all %}
12 <li><a href="{{ mp3.file.url }}">{{ mp3.title }}</a>
13 ({{ mp3.file.size|filesizeformat }}){% if mp3.desc %} - {{ mp3.desc }}{% endif %}</li>
14 {% endfor %}
15 </ul>
16 {% endfor %}
17 {% else %}
18 No downloads available at this time.
19 {% endif %}
20 {% endblock %}