view mysite/templates/band/songs.html @ 88:7245c769e31e django1.3

Close this branch. I'm not sure if I merged it correctly to the default branch, because the graphlog doesn't look right. But the changes were made to default somehow. So closing this off to prevent future confusion.
author Brian Neal <bgneal@gmail.com>
date Sat, 13 Apr 2013 18:08:19 -0500
parents 0dcfcdf50c62
children
line wrap: on
line source
{% 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 %}