Mercurial > public > madeira
annotate mysite/templates/band/bio.html @ 8:3e22a6fde2d2
Updated copyright in footer. Corrected the URL that appears in the mass mailings for unsubscribing to the mailing list.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 02 Jun 2009 00:47:37 +0000 |
parents | 0dcfcdf50c62 |
children | d771b81e927e |
rev | line source |
---|---|
bgneal@1 | 1 {% extends 'band/base.html' %} |
bgneal@1 | 2 {% block title %}The Madeira | Biography{% endblock %} |
bgneal@1 | 3 {% block content %} |
bgneal@1 | 4 <h1>Band Biography</h1> |
bgneal@1 | 5 {% if members %} |
bgneal@1 | 6 {% for member in members %} |
bgneal@1 | 7 <h2>{{ member.name }} - {{ member.instrument }}</h2> |
bgneal@1 | 8 {% if member.photo %} |
bgneal@1 | 9 <img class="floatLeftBox" src="{{ member.photo.url }}" border="0" alt="{{ member.name }}" title="{{ member.name }}" /> |
bgneal@1 | 10 {{ member.bio|linebreaks }} |
bgneal@1 | 11 {% if member.gear_set.all %} |
bgneal@1 | 12 <p>Gear:</p> |
bgneal@1 | 13 <ul> |
bgneal@1 | 14 {% for item in member.gear_set.all %} |
bgneal@1 | 15 <li>{{ item.item }}</li> |
bgneal@1 | 16 {% endfor %} |
bgneal@1 | 17 </ul> |
bgneal@1 | 18 {% endif %} |
bgneal@1 | 19 {% endif %} |
bgneal@1 | 20 {% endfor %} |
bgneal@1 | 21 {% else %} |
bgneal@1 | 22 The band has no members. |
bgneal@1 | 23 {% endif %} |
bgneal@1 | 24 {% endblock %} |