Mercurial > public > sg101
view gpp/templates/weblinks/search_results.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 | 884839ddbfde |
children |
line wrap: on
line source
{% extends 'weblinks/base.html' %} {% block title %}Web Links: Search Results{% endblock %} {% block weblinks_css %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> {% endblock %} {% block weblinks_content %} <h3>Search Results: {{ query }} - {{ page.paginator.count }} result{{ page.paginator.count|pluralize }}</h3> {% include 'core/pagination_query.html' %} {% if page.object_list %} <dl> {% for link in page.object_list %} {% include 'weblinks/link.html' %} {% endfor %} </dl> {% include 'core/pagination_query.html' %} {% else %} <p>No results found.</p> {% endif %} {% endblock %}