annotate mysite/templates/band/contact.html @ 28:a404f93a68d3
Decrease by 2 orders of magnitude the number of queries needed to generate the gigs page for the Madeira.
author |
Brian Neal <bgneal@gmail.com> |
date |
Thu, 31 Mar 2011 00:14:34 +0000 |
parents |
0dcfcdf50c62 |
children |
|
rev |
line source |
bgneal@1
|
1 {% extends 'band/base.html' %}
|
bgneal@1
|
2 {% block title %}The Madeira | Contact{% endblock %}
|
bgneal@1
|
3 {% block content %}
|
bgneal@1
|
4 <h1>Madeira Contact Info</h1>
|
bgneal@1
|
5 <p>For general band inquiries, send email to: <a href="mailto:{{ config.contact_email }}">{{ config.contact_email }}</a>.</p>
|
bgneal@1
|
6 <p>To contact individual band members:</p>
|
bgneal@1
|
7 <ul>
|
bgneal@1
|
8 {% for member in band %}
|
bgneal@1
|
9 {% if member.email %}
|
bgneal@1
|
10 <li>{{ member.name }}: <a href="mailto:{{ member.email }}">{{ member.email }}</a></li>
|
bgneal@1
|
11 {% endif %}
|
bgneal@1
|
12 {% endfor %}
|
bgneal@1
|
13 </ul>
|
bgneal@1
|
14 {% endblock %}
|