Mercurial > public > madeira
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 {% extends 'band/base.html' %} | |
2 {% block title %}The Madeira | Biography{% endblock %} | |
3 {% block content %} | |
4 <h1>Band Biography</h1> | |
5 {% if members %} | |
6 {% for member in members %} | |
7 <h2>{{ member.name }} - {{ member.instrument }}</h2> | |
8 {% if member.photo %} | |
9 <img class="floatLeftBox" src="{{ member.photo.url }}" border="0" alt="{{ member.name }}" title="{{ member.name }}" /> | |
10 {{ member.bio|linebreaks }} | |
11 {% if member.gear_set.all %} | |
12 <p>Gear:</p> | |
13 <ul> | |
14 {% for item in member.gear_set.all %} | |
15 <li>{{ item.item }}</li> | |
16 {% endfor %} | |
17 </ul> | |
18 {% endif %} | |
19 {% endif %} | |
20 {% endfor %} | |
21 {% else %} | |
22 The band has no members. | |
23 {% endif %} | |
24 {% endblock %} |