annotate mysite/templates/band/photo_detail.html @ 11:89978c135246
Added MySpace and Facebook links to sidebar.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 02 May 2010 18:21:38 +0000 |
parents |
0dcfcdf50c62 |
children |
10be1f4f121b |
rev |
line source |
bgneal@1
|
1 {% extends 'band/base.html' %}
|
bgneal@1
|
2 {% load markup %}
|
bgneal@1
|
3 {% block title %}The Madeira | Photos: {{ gallery.title }}{% endblock %}
|
bgneal@1
|
4 {% block custom_css %}
|
bgneal@1
|
5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/thickbox.css" />
|
bgneal@1
|
6 {% endblock %}
|
bgneal@1
|
7 {% block custom_js %}
|
bgneal@1
|
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script>
|
bgneal@1
|
9 <script type="text/javascript" src="{{ MEDIA_URL }}js/thickbox.js"></script>
|
bgneal@1
|
10 {% endblock %}
|
bgneal@1
|
11 {% block content %}
|
bgneal@1
|
12 <h1>Madeira Photos: {{ gallery.title }}</h1>
|
bgneal@1
|
13 {{ gallery.description|textile }}
|
bgneal@1
|
14
|
bgneal@1
|
15 <div class="madeira-photo-list">
|
bgneal@1
|
16 {% for photo in gallery.photos.all %}
|
bgneal@1
|
17 <a href="{{ photo.image.url }}" class="thickbox" rel="madeira-gallery">
|
bgneal@1
|
18 <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.caption }}" title="{{ photo.caption }}" /></a>
|
bgneal@1
|
19 {% endfor %}
|
bgneal@1
|
20 </div>
|
bgneal@1
|
21 <center><a href="{% url mysite.band.views.photos_index %}">Photo gallery index</a></center>
|
bgneal@1
|
22
|
bgneal@1
|
23 {% endblock %}
|