comparison gpp/templates/news/archive_index.html @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children 2baadae33f2e
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 {% extends 'news/base.html' %}
2 {% block title %}News Archive{% endblock %}
3 {% block archive-class %}class="active"{% endblock %}
4 {% block news_content %}
5 <h3>News Archive</h3>
6 <p>
7 This is our news archive. Click on a link to view the list of stories we published for that month.
8 </p>
9
10 {% if dates %}
11 <ul>
12 {% for date in dates %}
13 <li><a href="{% url news-archive_page year=date.year,month=date.month,page=1 %}">
14 {{ date|date:"F, Y" }}</a></li>
15 {% endfor %}
16 </ul>
17 {% else %}
18 <p>No archives at this time.</p>
19 {% endif %}
20 {% endblock %}