summaryrefslogtreecommitdiff
path: root/templates/searchresults.tmpl
blob: 76bf5ff17a71c088130e120d3c054a97049c484b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 - $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