Mercurial > public > madeira
annotate mysite/templates/band/press_detail.html @ 5:e602b5302b94
Added support for countries beside the USA.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 14 May 2009 00:31:39 +0000 |
parents | 0dcfcdf50c62 |
children | ead7bd49c9e0 |
rev | line source |
---|---|
bgneal@1 | 1 {% extends 'band/base.html' %} |
bgneal@1 | 2 {% load markup %} |
bgneal@1 | 3 {% block title %}The Madeira | Press{% endblock %} |
bgneal@1 | 4 {% block content %} |
bgneal@1 | 5 <h1>Madeira Press, Articles, & Reviews</h1> |
bgneal@1 | 6 <h2>{{ article.title }}</h2> |
bgneal@1 | 7 {% if article.markup_enabled %} |
bgneal@1 | 8 {{ article.text|textile }} |
bgneal@1 | 9 {% else %} |
bgneal@1 | 10 {{ article.text|safe|linebreaks }} |
bgneal@1 | 11 {% endif %} |
bgneal@1 | 12 <div class="article-source"> |
bgneal@1 | 13 {{ article.source|safe|linebreaks }} |
bgneal@1 | 14 </div> |
bgneal@1 | 15 {% if article.url %} |
bgneal@1 | 16 <a href="{{ article.url }}" target="_blank">Original article</a> |
bgneal@1 | 17 {% endif %} |
bgneal@1 | 18 {% if article.pdf and article.url %} |
bgneal@1 | 19 | |
bgneal@1 | 20 {% endif %} |
bgneal@1 | 21 {% if article.pdf %} |
bgneal@1 | 22 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a> |
bgneal@1 | 23 <a href="http://www.adobe.com/products/acrobat/readstep2.html"> |
bgneal@1 | 24 <img src="{{ MEDIA_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0" |
bgneal@1 | 25 align="middle" /></a> |
bgneal@1 | 26 {% endif %} |
bgneal@1 | 27 <p><a href="{% url mysite.band.views.press_index %}">Press index</a></p> |
bgneal@1 | 28 {% endblock %} |