diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mysite/templates/band/songs.html	Mon Apr 06 03:10:59 2009 +0000
@@ -0,0 +1,20 @@
+{% extends 'band/base.html' %}
+{% block title %}The Madeira | Songs{% endblock %}
+{% block content %}
+<h1>Madeira Songs</h1>
+{% if mp3Sets %}
+   <p>Check out some Madeira MP3 downloads!</p>
+   {% for set in mp3Sets %}
+      <h2>{{ set.title }}</h2>
+      {{ set.text|safe|linebreaks }}
+      <ul>
+         {% for mp3 in set.mp3_set.all %}
+            <li><a href="{{ mp3.file.url }}">{{ mp3.title }}</a>
+               ({{ mp3.file.size|filesizeformat }}){% if mp3.desc %} - {{ mp3.desc }}{% endif %}</li>
+         {% endfor %}
+      </ul>
+   {% endfor %}
+{% else %}
+No downloads available at this time.
+{% endif %}
+{% endblock %}