comparison mysite/templates/band/press_detail.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 0dcfcdf50c62
children 25e00d1b99bf
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 {% load markup %} 3 {% load markup %}
3 {% block title %}The Madeira | Press{% endblock %} 4 {% block title %}The Madeira | Press{% endblock %}
4 {% block content %} 5 {% block content %}
5 <h1>Madeira Press, Articles, &amp; Reviews</h1> 6 <h1>Madeira Press, Articles, &amp; Reviews</h1>
6 <h2>{{ article.title }}</h2> 7 <h2>{{ article.title }}</h2>
19 | 20 |
20 {% endif %} 21 {% endif %}
21 {% if article.pdf %} 22 {% if article.pdf %}
22 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a> 23 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a>
23 <a href="http://www.adobe.com/products/acrobat/readstep2.html"> 24 <a href="http://www.adobe.com/products/acrobat/readstep2.html">
24 <img src="{{ MEDIA_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0" 25 <img src="{{ STATIC_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0"
25 align="middle" /></a> 26 align="middle" /></a>
26 {% endif %} 27 {% endif %}
27 <p><a href="{% url mysite.band.views.press_index %}">Press index</a></p> 28 <p><a href="{% url 'mysite.band.views.press_index' %}">Press index</a></p>
28 {% endblock %} 29 {% endblock %}