Mercurial > public > madeira
annotate mysite/templates/band/flyers.html @ 38:1ff89e01b4ff
Adding a .hgignore file.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Feb 2012 18:52:09 -0600 |
parents | 0dcfcdf50c62 |
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 %} |