Mercurial > public > madeira
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 {% extends 'band/base.html' %} | |
2 {% load markup %} | |
3 {% block title %}The Madeira | Press{% endblock %} | |
4 {% block content %} | |
5 <h1>Madeira Press, Articles, & Reviews</h1> | |
6 {% if articles %} | |
7 <a name="Contents"> </a> | |
8 <h2>Contents</h2> | |
9 <ul> | |
10 {% for article in articles %} | |
11 <li><a href="#article_{{ article.id }}">{{ article.title }}</a></li> | |
12 {% endfor %} | |
13 </ul> | |
14 | |
15 {% for article in articles %} | |
16 <a name="article_{{ article.id }}"> </a> | |
17 <h2>{{ article.title }}</h2> | |
18 {% if article.markup_enabled %} | |
19 {{ article.text|textile }} | |
20 {% else %} | |
21 {{ article.text|safe|linebreaks }} | |
22 {% endif %} | |
23 <div class="article-source"> | |
24 {{ article.source|safe|linebreaks }} | |
25 </div> | |
26 {% if article.url %} | |
27 <a href="{{ article.url }}" target="_blank">Original article</a> | |
28 {% endif %} | |
29 {% if article.pdf and article.url %} | |
30 | | |
31 {% endif %} | |
32 {% if article.pdf %} | |
33 <a href="{{ article.get_pdf_url }}" target="_blank">Original article as PDF</a> | |
34 <a href="http://www.adobe.com/products/acrobat/readstep2.html"> | |
35 <img src="{{ MEDIA_URL }}images/get_adobe_reader.gif" alt="Adobe Reader" title="Get Adobe Reader" border="0" | |
36 align="middle" /></a> | |
37 {% endif %} | |
38 <p><a class="intLink" href="#Contents">Top</a></p> | |
39 {% endfor %} | |
40 | |
41 {% else %} | |
42 No articles at this time. | |
43 {% endif %} | |
44 {% endblock %} |