Mercurial > public > madeira
annotate mysite/templates/band/bio.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 | 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 %} |