annotate mysite/templates/band/photo_detail.html @ 88:7245c769e31e django1.3

Close this branch. I'm not sure if I merged it correctly to the default branch, because the graphlog doesn't look right. But the changes were made to default somehow. So closing this off to prevent future confusion.
author Brian Neal <bgneal@gmail.com>
date Sat, 13 Apr 2013 18:08:19 -0500
parents ead7bd49c9e0
children f61db5f82549
rev   line source
bgneal@1 1 {% extends 'band/base.html' %}
bgneal@24 2 {% load url from future %}
bgneal@1 3 {% load markup %}
bgneal@1 4 {% block title %}The Madeira | Photos: {{ gallery.title }}{% endblock %}
bgneal@1 5 {% block custom_css %}
bgneal@24 6 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
bgneal@1 7 {% endblock %}
bgneal@1 8 {% block custom_js %}
bgneal@18 9 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
bgneal@24 10 <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
bgneal@18 11 <script type="text/javascript">
bgneal@18 12 $(function() {
bgneal@18 13 $('a.fancybox').fancybox();
bgneal@18 14 });
bgneal@18 15 </script>
bgneal@1 16 {% endblock %}
bgneal@1 17 {% block content %}
bgneal@1 18 <h1>Madeira Photos: {{ gallery.title }}</h1>
bgneal@1 19 {{ gallery.description|textile }}
bgneal@1 20
bgneal@1 21 <div class="madeira-photo-list">
bgneal@1 22 {% for photo in gallery.photos.all %}
bgneal@18 23 <a href="{{ photo.image.url }}" class="fancybox" rel="madeira-gallery">
bgneal@1 24 <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.caption }}" title="{{ photo.caption }}" /></a>
bgneal@1 25 {% endfor %}
bgneal@1 26 </div>
bgneal@24 27 <center><a href="{% url 'mysite.band.views.photos_index' %}">Photo gallery index</a></center>
bgneal@1 28
bgneal@1 29 {% endblock %}