comparison mysite/templates/band/flyers.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
comparison
equal deleted inserted replaced
0:df0370bfe3f0 1:0dcfcdf50c62
1 {% extends 'band/base.html' %}
2 {% block title %}The Madeira | Flyer Gallery{% endblock %}
3 {% block content %}
4 <h1>Show Flyer Gallery</h1>
5 {% if gigs %}
6 <center>
7 {% for gig in gigs %}
8 <p>
9 {% if gig.title %}
10 <img src="{{ gig.flyer.image.url }}" alt="{{ gig.title }}" title="{{ gig.title }} : {{ gig.date|date:"F d, Y" }}" />
11 {% else %}
12 <img src="{{ gig.flyer.image.url }}" alt="{{ gig.date|date:"F d, Y" }}" title="{{ gig.date|date:"F d, Y" }}" />
13 {% endif %}
14 </p>
15 {% endfor %}
16 </center>
17 {% else %}
18 No flyers available at this time.
19 {% endif %}
20 {% endblock %}