Mercurial > public > madeira
diff mysite/templates/band/press.html @ 1:0dcfcdf50c62
Initial import of Madeira project from the private repository.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 06 Apr 2009 03:10:59 +0000 |
parents | |
children | ead7bd49c9e0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mysite/templates/band/press.html Mon Apr 06 03:10:59 2009 +0000 @@ -0,0 +1,44 @@ +{% extends 'band/base.html' %} +{% load markup %} +{% block title %}The Madeira | Press{% endblock %} +{% block content %} +<h1>Madeira Press, Articles, & Reviews</h1> +{% if articles %} + <a name="Contents"> </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 }}"> </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="{{ MEDIA_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 %}