view 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
line wrap: on
line source
{% extends 'band/base.html' %}
{% load markup %}
{% block title %}The Madeira | Press{% endblock %}
{% block content %}
<h1>Madeira Press, Articles, &amp; Reviews</h1>
{% if articles %}
   <a name="Contents">&nbsp;</a>
   <h2>Contents</h2>
   <ul>
   {% for article in articles %}
      <li><a href="#article_{{ article.id }}">{{ article.title }}</a></li>
   {% endfor %}
   </ul>

   {% for article in articles %}
      <a name="article_{{ article.id }}">&nbsp;</a>
      <h2>{{ article.title }}</h2>
      {% if article.markup_enabled %}
         {{ article.text|textile }}
      {% else %}
         {{ article.text|safe|linebreaks }}
      {% endif %}
      <div class="article-source">
      {{ article.source|safe|linebreaks }}
      </div>
      {% if article.url %}
      <a href="{{ article.url }}" target="_blank">Original article</a>
      {% endif %}
      {% if article.pdf and article.url %}
      |
      {% endif %}
      {% if article.pdf %}
      <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a>
      <a href="http://www.adobe.com/products/acrobat/readstep2.html">
         <img src="{{ STATIC_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0"
         align="middle" /></a>
      {% endif %}
      <p><a class="intLink" href="#Contents">Top</a></p>
   {% endfor %}

{% else %}
No articles at this time.
{% endif %}
{% endblock %}