annotate mysite/templates/band/flyers.html @ 24:ead7bd49c9e0 django1.3

Changes to support Django 1.3
author Brian Neal <bgneal@gmail.com>
date Tue, 29 Mar 2011 01:51:10 +0000
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 %}