summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/searchresults.html (renamed from templates/letter_toc.html)2
-rw-r--r--templates/searchresults.tmpl34
2 files changed, 1 insertions, 35 deletions
diff --git a/templates/letter_toc.html b/templates/searchresults.html
index bff8a34..6f5abe5 100644
--- a/templates/letter_toc.html
+++ b/templates/searchresults.html
@@ -4,7 +4,7 @@ Debian Project patch tracking system
{% endblock %}
{% block content %}
<h1>Debian Project patch tracking system</h1>
-<h2>Packaging patches by index - {{ index }}</h2>
+<h2>Search Results: {{ searchDescription }} - {{ searchKey }}</h2>
<table class="packagelisting">
<tr>
<th>package</th>
diff --git a/templates/searchresults.tmpl b/templates/searchresults.tmpl
deleted file mode 100644
index 76bf5ff..0000000
--- a/templates/searchresults.tmpl
+++ /dev/null
@@ -1,34 +0,0 @@
-#import templates
-#extends templates.skeleton
-#def title
-Debian Project patch tracking system - Search Results
-#end def
-#def body
-<h1>Debian Project patch tracking system</h1>
-<h2>Search Results - $searchtype: $idx</h2>
-<table class="packagelisting">
-<tr>
-<th>package</th>
-#for $d in $dists
- <th>$d</th>
-#end for
-</tr>
-#for $p in $sorted($pkgs.iterkeys)
-<tr>
- <td>
- <a name="$p" />
- <a href="http://packages.debian.org/$p">$p</a>
- </td>
- #for $d in $dists
- <td>
- #if $pkgs[$p].has_key($d)
- <a href="$conf.root_url/package/$p/$pkgs[$p][$d].version">$pkgs[$p][$d].version</a>
- #else
- <i>n/a</i>
- #end if
- </td>
- #end for
-</tr>
-#end for
-</table>
-#end def