summaryrefslogtreecommitdiff
path: root/templates/searchresults.tmpl
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2008-06-26 01:59:44 +0200
committerSean Finney <seanius@debian.org>2008-06-26 01:59:44 +0200
commit585aa315a541ef3ba714e0c32424ad2f530ea92c (patch)
tree158f2408ac991943f6122612c1bd4c4c99990ce5 /templates/searchresults.tmpl
parentbb37cf116269d5948d7f4d592557642696b5d9c7 (diff)
downloadpatch-tracker-585aa315a541ef3ba714e0c32424ad2f530ea92c.tar.gz
whoops, forgot to add searchresults template
Diffstat (limited to 'templates/searchresults.tmpl')
-rw-r--r--templates/searchresults.tmpl34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/searchresults.tmpl b/templates/searchresults.tmpl
new file mode 100644
index 0000000..9768d45
--- /dev/null
+++ b/templates/searchresults.tmpl
@@ -0,0 +1,34 @@
+#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 - $idx</h2>
+<table class="packagelisting">
+<tr>
+<th>package</th>
+#for $d in $dists.iterkeys()
+ <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.iterkeys()
+ <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