Mercurial > public > sg101
view gpp/templates/weblinks/index.html @ 161:445e1466a98d
Implement #47; add goto page links on topics in the forum index view.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Dec 2009 03:31:43 +0000 |
parents | dbd703f7d63a |
children | fa7d82bfb100 |
line wrap: on
line source
{% extends 'weblinks/base.html' %} {% block title %}Web Links{% endblock %} {% block weblinks_content %} <h3>Categories</h3> {% if categories %} <p>We have {{ total_links }} links in {{ categories.count }} categories.</p> <dl> {% for category in categories %} <dt><a href="{% url weblinks-view_links category=category.id,sort="title",page=1 %}">{{ category.title }}</a> ({{ category.num_links}})</dt> <dd><p>{{ category.description }}</p></dd> {% endfor %} </dl> {% endif %} {% endblock %}