Mercurial > public > sg101
diff gpp/templates/weblinks/search_results.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 884839ddbfde |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/weblinks/search_results.html Mon Apr 06 02:43:12 2009 +0000 @@ -0,0 +1,23 @@ +{% 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 }}</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 %}