summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2010-05-13 20:23:37 +0200
committerSean Finney <seanius@debian.org>2010-05-13 20:23:37 +0200
commitcd9c47eabb00f528f801ff3f1a73a3f22ce24d88 (patch)
tree60cb0c397bb093e735d6883cab9d50a4acd5da63 /templates
parent4a87687ce6598d89c9368d45f8f570d86c6c665e (diff)
downloadpatch-tracker-cd9c47eabb00f528f801ff3f1a73a3f22ce24d88.tar.gz
Add maintainer search in django implementation, commonize w/index search.
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