Mercurial > public > madeira
view mysite/templates/band/photo_detail.html @ 5:e602b5302b94
Added support for countries beside the USA.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 14 May 2009 00:31:39 +0000 |
parents | 0dcfcdf50c62 |
children | 10be1f4f121b |
line wrap: on
line source
{% extends 'band/base.html' %} {% load markup %} {% block title %}The Madeira | Photos: {{ gallery.title }}{% endblock %} {% block custom_css %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" /> {% endblock %} {% block custom_js %} <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script> <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script> {% endblock %} {% block content %} <h1>Madeira Photos: {{ gallery.title }}</h1> {{ gallery.description|textile }} <div class="madeira-photo-list"> {% for photo in gallery.photos.all %} <a href="{{ photo.image.url }}" class="thickbox" rel="madeira-gallery"> <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.caption }}" title="{{ photo.caption }}" /></a> {% endfor %} </div> <center><a href="{% url mysite.band.views.photos_index %}">Photo gallery index</a></center> {% endblock %}