Mercurial > public > sg101
comparison gpp/templates/downloads/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 | b6263ac72052 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% extends 'base.html' %} | |
2 {% load downloads_tags %} | |
3 {% block title %}Downloads: Search Results{% endblock %} | |
4 {% block custom_css %} | |
5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" /> | |
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> | |
7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> | |
8 {% endblock %} | |
9 {% block custom_js %} | |
10 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.2.6.min.js"></script> | |
11 <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> | |
12 {% endblock %} | |
13 {% block content %} | |
14 <h2>Downloads</h2> | |
15 {% downloads_navigation %} | |
16 <h3>Search Results: {{ query }}</h3> | |
17 | |
18 {% if page.object_list %} | |
19 {% include 'core/pagination_query.html' %} | |
20 | |
21 <dl> | |
22 {% for download in page.object_list %} | |
23 {% include 'downloads/download.html' %} | |
24 {% endfor %} | |
25 </dl> | |
26 | |
27 {% include 'core/pagination_query.html' %} | |
28 {% else %} | |
29 <p>No results found for "{{ query }}".</p> | |
30 {% endif %} | |
31 {% endblock %} |