Mercurial > public > sg101
diff sg101/templates/ygroup/thread_list.html @ 581:ee87ea74d46b
For Django 1.4, rearranged project structure for new manage.py.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 May 2012 17:10:48 -0500 |
parents | gpp/templates/ygroup/thread_list.html@0c18dfb1da1c |
children | 25a408bb71a3 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sg101/templates/ygroup/thread_list.html Sat May 05 17:10:48 2012 -0500 @@ -0,0 +1,25 @@ +{% extends 'base.html' %} +{% load url from future %} +{% block title %}Yahoo Group Archives{% endblock %} +{% block custom_css %} +<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> +{% endblock %} +{% block content %} +<h2>Yahoo Group Archives » Page {{ page_obj.number }}</h2> +<p> +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>. +</p> +{% include "ygroup/pagination.html" %} +<table> + <tr><th>Title</th><th>Author</th><th>Posts</th><th>Date</th></tr> + {% for thread in page_obj.object_list %} + <tr> + <td><a href="{{ thread.get_absolute_url }}">{{ thread.title }}</a></td> + <td>{{ thread.poster }}</td> + <td>{{ thread.post_count }}</td> + <td>{{ thread.creation_date|date:"d M Y" }}</td> + </tr> + {% endfor %} +</table> +{% include "ygroup/pagination.html" %} +{% endblock %}