comparison gpp/templates/ygroup/thread_list.html @ 323:0c18dfb1da1c

Fixing #149; adding the ygroup application: an archive of the old Yahoo Group messages.
author Brian Neal <bgneal@gmail.com>
date Sun, 20 Feb 2011 00:31:54 +0000
parents
children
comparison
equal deleted inserted replaced
322:c3d3d7114749 323:0c18dfb1da1c
1 {% extends 'base.html' %}
2 {% load url from future %}
3 {% block title %}Yahoo Group Archives{% endblock %}
4 {% block custom_css %}
5 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" />
6 {% endblock %}
7 {% block content %}
8 <h2>Yahoo Group Archives &raquo; Page {{ page_obj.number }}</h2>
9 <p>
10 SurfGuitar101.com began as a Yahoo Group on October 31, 2001. It ran until August, 2007 when this site officially replaced it. On these pages you'll find the archived messages of our original group. You can also search through these messages via our <a href="{% url 'haystack_search' %}">search page</a>.
11 </p>
12 {% include "ygroup/pagination.html" %}
13 <table>
14 <tr><th>Title</th><th>Author</th><th>Posts</th><th>Date</th></tr>
15 {% for thread in page_obj.object_list %}
16 <tr>
17 <td><a href="{{ thread.get_absolute_url }}">{{ thread.title }}</a></td>
18 <td>{{ thread.poster }}</td>
19 <td>{{ thread.post_count }}</td>
20 <td>{{ thread.creation_date|date:"d M Y" }}</td>
21 </tr>
22 {% endfor %}
23 </table>
24 {% include "ygroup/pagination.html" %}
25 {% endblock %}