Mercurial > public > madeira
annotate mysite/templates/band/bio.html @ 26:efb2da0b5d10
Merging the django1.3 branch into trunk.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 30 Mar 2011 00:16:32 +0000 |
parents | d771b81e927e |
children |
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@12 | 8 <p> |
bgneal@1 | 9 {% if member.photo %} |
bgneal@12 | 10 <img class="left" src="{{ member.photo.url }}" border="0" alt="{{ member.name }}" title="{{ member.name }}" /> |
bgneal@1 | 11 {{ member.bio|linebreaks }} |
bgneal@12 | 12 </p> |
bgneal@1 | 13 {% if member.gear_set.all %} |
bgneal@1 | 14 <p>Gear:</p> |
bgneal@1 | 15 <ul> |
bgneal@1 | 16 {% for item in member.gear_set.all %} |
bgneal@1 | 17 <li>{{ item.item }}</li> |
bgneal@1 | 18 {% endfor %} |
bgneal@1 | 19 </ul> |
bgneal@1 | 20 {% endif %} |
bgneal@1 | 21 {% endif %} |
bgneal@1 | 22 {% endfor %} |
bgneal@1 | 23 {% else %} |
bgneal@1 | 24 The band has no members. |
bgneal@1 | 25 {% endif %} |
bgneal@1 | 26 {% endblock %} |