view mysite/templates/band/flyers.html @ 21:f3052378ab47

Updating the home page with a 6 video playlist from Mahogany's. Fixed the flyers on the gig page under chrome. Updated the copyright on the base template.
author Brian Neal <bgneal@gmail.com>
date Sun, 20 Mar 2011 19:53:35 +0000
parents 0dcfcdf50c62
children
line wrap: on
line source
{% extends 'band/base.html' %}
{% block title %}The Madeira | Flyer Gallery{% endblock %}
{% block content %}
<h1>Show Flyer Gallery</h1>
{% if gigs %}
   <center>
   {% for gig in gigs %}
      <p>
      {% if gig.title %}
      <img src="{{ gig.flyer.image.url }}" alt="{{ gig.title }}" title="{{ gig.title }} : {{ gig.date|date:"F d, Y" }}" />
      {% else %}
      <img src="{{ gig.flyer.image.url }}" alt="{{ gig.date|date:"F d, Y" }}" title="{{ gig.date|date:"F d, Y" }}" />
      {% endif %}
      </p>
   {% endfor %}
   </center>
{% else %}
No flyers available at this time.
{% endif %}
{% endblock %}