diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mysite/templates/band/flyers.html	Mon Apr 06 03:10:59 2009 +0000
@@ -0,0 +1,20 @@
+{% 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 %}