annotate mysite/templates/band/press.html @ 36:7236f526e414

Remove unused sqllog.py middleware.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Nov 2011 00:16:44 +0000
parents c185fcf5817f
children
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, &amp; Reviews</h1>
bgneal@1 6 {% if articles %}
bgneal@1 7 <a name="Contents">&nbsp;</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 }}">&nbsp;</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@27 33 <a href="{{ article.pdf.url }}" target="_blank">Original article as PDF</a>
bgneal@1 34 <a href="http://www.adobe.com/products/acrobat/readstep2.html">
bgneal@26 35 <img src="{{ STATIC_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 %}