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