annotate mysite/templates/band/press_detail.html @ 26:efb2da0b5d10

Merging the django1.3 branch into trunk.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Mar 2011 00:16:32 +0000
parents 0dcfcdf50c62
children 25e00d1b99bf
rev   line source
bgneal@1 1 {% extends 'band/base.html' %}
bgneal@26 2 {% load url from future %}
bgneal@1 3 {% load markup %}
bgneal@1 4 {% block title %}The Madeira | Press{% endblock %}
bgneal@1 5 {% block content %}
bgneal@1 6 <h1>Madeira Press, Articles, &amp; Reviews</h1>
bgneal@1 7 <h2>{{ article.title }}</h2>
bgneal@1 8 {% if article.markup_enabled %}
bgneal@1 9 {{ article.text|textile }}
bgneal@1 10 {% else %}
bgneal@1 11 {{ article.text|safe|linebreaks }}
bgneal@1 12 {% endif %}
bgneal@1 13 <div class="article-source">
bgneal@1 14 {{ article.source|safe|linebreaks }}
bgneal@1 15 </div>
bgneal@1 16 {% if article.url %}
bgneal@1 17 <a href="{{ article.url }}" target="_blank">Original article</a>
bgneal@1 18 {% endif %}
bgneal@1 19 {% if article.pdf and article.url %}
bgneal@1 20 |
bgneal@1 21 {% endif %}
bgneal@1 22 {% if article.pdf %}
bgneal@1 23 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a>
bgneal@1 24 <a href="http://www.adobe.com/products/acrobat/readstep2.html">
bgneal@26 25 <img src="{{ STATIC_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0"
bgneal@1 26 align="middle" /></a>
bgneal@1 27 {% endif %}
bgneal@26 28 <p><a href="{% url 'mysite.band.views.press_index' %}">Press index</a></p>
bgneal@1 29 {% endblock %}