Mercurial > public > madeira
comparison mysite/templates/band/index.html @ 24:ead7bd49c9e0 django1.3
Changes to support Django 1.3
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 29 Mar 2011 01:51:10 +0000 |
parents | f3052378ab47 |
children | e492aa7c70de |
comparison
equal
deleted
inserted
replaced
23:6ad81d6a86bf | 24:ead7bd49c9e0 |
---|---|
1 {% extends 'band/base.html' %} | 1 {% extends 'band/base.html' %} |
2 {% load url from future %} | |
2 {% block title %}The Madeira{% endblock %} | 3 {% block title %}The Madeira{% endblock %} |
3 {% block custom_css %} | 4 {% block custom_css %} |
4 <link rel="stylesheet" href="{{ MEDIA_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> | 5 <link rel="stylesheet" href="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> |
5 {% endblock %} | 6 {% endblock %} |
6 {% block custom_js %} | 7 {% block custom_js %} |
7 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | 8 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
8 <script type="text/javascript" src="{{ MEDIA_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script> | 9 <script type="text/javascript" src="{{ STATIC_URL }}js/fancybox/jquery.fancybox-1.3.1.pack.js"></script> |
9 {% endblock %} | 10 {% endblock %} |
10 {% load markup %} | 11 {% load markup %} |
11 {% block content %} | 12 {% block content %} |
12 <h1>The Madeira</h1> | 13 <h1>The Madeira</h1> |
13 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" | 14 <img class="floatLeftBox" src="{{ config.intro_photo.image.url }}" |
39 {{ show.venue.city.country.name }} | 40 {{ show.venue.city.country.name }} |
40 {% endifnotequal %} | 41 {% endifnotequal %} |
41 </li> | 42 </li> |
42 {% endfor %} | 43 {% endfor %} |
43 </ul> | 44 </ul> |
44 <center><a href="{% url mysite.band.views.gigs %}">See all upcoming shows...</a></center> | 45 <center><a href="{% url 'mysite.band.views.gigs' %}">See all upcoming shows...</a></center> |
45 </div> | 46 </div> |
46 {% endif %} | 47 {% endif %} |
47 | 48 |
48 <div> | 49 <div> |
49 <center> | 50 <center> |