Mercurial > public > sg101
view gpp/templates/downloads/index.html @ 230:5ee9422ce83c
Fix lack of trailing slash on the individual forum RSS feed links. For some reason this was causing a bizarre middleware error 'request object has not attribute session'.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 13 Jul 2010 03:51:37 +0000 |
parents | 2baadae33f2e |
children | 27bee3ac85e6 |
line wrap: on
line source
{% extends 'base.html' %} {% load downloads_tags %} {% block title %}Downloads{% endblock %} {% block custom_css %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> {% endblock %} {% block content %} <h2>Downloads</h2> {% downloads_navigation %} <h3>Categories</h3> {% if categories %} <p>We have {{ total_dls }} download{{ total_dls|pluralize }} in {{ categories.count }} categories.</p> <dl> {% for category in categories %} <dt> <a href="{% url downloads-category category=category.pk sort="title" page=1 %}">{{ category.title }}</a> ({{ category.count }}) </dt> <dd><p>{{ category.description }}</p></dd> {% endfor %} </dl> {% endif %} {% endblock %}