comparison mysite/templates/band/photo_detail.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 10be1f4f121b
comparison
equal deleted inserted replaced
0:df0370bfe3f0 1:0dcfcdf50c62
1 {% extends 'band/base.html' %}
2 {% load markup %}
3 {% block title %}The Madeira | Photos: {{ gallery.title }}{% endblock %}
4 {% block custom_css %}
5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" />
6 {% endblock %}
7 {% block custom_js %}
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script>
9 <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script>
10 {% endblock %}
11 {% block content %}
12 <h1>Madeira Photos: {{ gallery.title }}</h1>
13 {{ gallery.description|textile }}
14
15 <div class="madeira-photo-list">
16 {% for photo in gallery.photos.all %}
17 <a href="{{ photo.image.url }}" class="thickbox" rel="madeira-gallery">
18 <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.caption }}" title="{{ photo.caption }}" /></a>
19 {% endfor %}
20 </div>
21 <center><a href="{% url mysite.band.views.photos_index %}">Photo gallery index</a></center>
22
23 {% endblock %}