Mercurial > public > madeira
annotate mysite/templates/band/press.html @ 19:1b6b3e38e918
Fix path to fancybox css file.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 08 Sep 2010 00:49:37 +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 {% if articles %} |
bgneal@1 | 7 <a name="Contents"> </a> |
bgneal@1 | 8 <h2>Contents</h2> |
bgneal@1 | 9 <ul> |
bgneal@1 | 10 {% for article in articles %} |
bgneal@1 | 11 <li><a href="#article_{{ article.id }}">{{ article.title }}</a></li> |
bgneal@1 | 12 {% endfor %} |
bgneal@1 | 13 </ul> |
bgneal@1 | 14 |
bgneal@1 | 15 {% for article in articles %} |
bgneal@1 | 16 <a name="article_{{ article.id }}"> </a> |
bgneal@1 | 17 <h2>{{ article.title }}</h2> |
bgneal@1 | 18 {% if article.markup_enabled %} |
bgneal@1 | 19 {{ article.text|textile }} |
bgneal@1 | 20 {% else %} |
bgneal@1 | 21 {{ article.text|safe|linebreaks }} |
bgneal@1 | 22 {% endif %} |
bgneal@1 | 23 <div class="article-source"> |
bgneal@1 | 24 {{ article.source|safe|linebreaks }} |
bgneal@1 | 25 </div> |
bgneal@1 | 26 {% if article.url %} |
bgneal@1 | 27 <a href="{{ article.url }}" target="_blank">Original article</a> |
bgneal@1 | 28 {% endif %} |
bgneal@1 | 29 {% if article.pdf and article.url %} |
bgneal@1 | 30 | |
bgneal@1 | 31 {% endif %} |
bgneal@1 | 32 {% if article.pdf %} |
bgneal@1 | 33 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a> |
bgneal@1 | 34 <a href="http://www.adobe.com/products/acrobat/readstep2.html"> |
bgneal@1 | 35 <img src="{{ MEDIA_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0" |
bgneal@1 | 36 align="middle" /></a> |
bgneal@1 | 37 {% endif %} |
bgneal@1 | 38 <p><a class="intLink" href="#Contents">Top</a></p> |
bgneal@1 | 39 {% endfor %} |
bgneal@1 | 40 |
bgneal@1 | 41 {% else %} |
bgneal@1 | 42 No articles at this time. |
bgneal@1 | 43 {% endif %} |
bgneal@1 | 44 {% endblock %} |