Mercurial > public > sg101
comparison gpp/templates/news/archive_index.html @ 240:1246a4f1ab4f
For #93: fix url scheme for the news application.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 00:14:54 +0000 |
parents | 2baadae33f2e |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
239:dcc929973bba | 240:1246a4f1ab4f |
---|---|
8 </p> | 8 </p> |
9 | 9 |
10 {% if dates %} | 10 {% if dates %} |
11 <ul> | 11 <ul> |
12 {% for date in dates %} | 12 {% for date in dates %} |
13 <li><a href="{% url news-archive_page year=date.year month=date.month page=1 %}"> | 13 <li><a href="{% url news-archive_page year=date.year month=date.month %}"> |
14 {{ date|date:"F, Y" }}</a></li> | 14 {{ date|date:"F, Y" }}</a></li> |
15 {% endfor %} | 15 {% endfor %} |
16 </ul> | 16 </ul> |
17 {% else %} | 17 {% else %} |
18 <p>No archives at this time.</p> | 18 <p>No archives at this time.</p> |