annotate mysite/templates/band/flyers.html @ 31:ec7abd6ac50b

Added link to YouTube to base template.
author Brian Neal <bgneal@gmail.com>
date Wed, 11 May 2011 23:43:17 +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 %}