comparison gpp/templates/downloads/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 341759e1cda1
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 {% extends 'base.html' %}
2 {% load downloads_tags %}
3 {% block title %}Downloads{% endblock %}
4 {% block custom_css %}
5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" />
6 {% endblock %}
7 {% block content %}
8 <h2>Downloads</h2>
9 {% downloads_navigation %}
10 <h3>Categories</h3>
11 {% if categories %}
12 <p>We have {{ total_dls }} download{{ total_dls|pluralize }} in {{ categories.count }} categories.</p>
13 <dl>
14 {% for category in categories %}
15 <dt>
16 <a href="{% url downloads-category category=category.pk,sort="title",page=1 %}">{{ category.title }}</a>
17 ({{ category.num_downloads }})
18 </dt>
19 <dd><p>{{ category.description }}</p></dd>
20 {% endfor %}
21 </dl>
22 {% endif %}
23 {% endblock %}