Mercurial > public > madeira
annotate mysite/templates/band/press_detail.html @ 20:7aa63299adf6
Adding a work around for IE path problem in the .css file, as per http://groups.google.com/group/fancybox/browse_frm/thread/8530478044b9f586
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 08 Sep 2010 23:15:57 +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 %} |