annotate mysite/templates/band/press.html @ 88:7245c769e31e django1.3

Close this branch. I'm not sure if I merged it correctly to the default branch, because the graphlog doesn't look right. But the changes were made to default somehow. So closing this off to prevent future confusion.
author Brian Neal <bgneal@gmail.com>
date Sat, 13 Apr 2013 18:08:19 -0500
parents ead7bd49c9e0
children c185fcf5817f
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@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@24 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 %}