]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/search_contents.tmpl
html/newpkg.tmpl: Expose mode=byage in UI
[deb/packages.git] / templates / html / search_contents.tmpl
index 2deef0bb7ee0839c44a8c7b6ef0de7d574842118..7cfc54fa77846bc1e6d7934a33cddf279a874dd3 100644 (file)
 
 <p>Search in other suite:
 [% FOREACH s IN all_suites %]
-[<a href="[% make_search_url('',"keywords=$keyword_esc",'suite',s) %]">[% s  %]</a>]
+       [% IF s != suite %]
+       [<a href="[% make_search_url('',"keywords=$keyword_esc",'suite',s) %]">[% s  %]</a>]
+       [% ELSE %]
+       [[% s %]]
+       [% END %]
 [% END %]
 
 [% UNLESS search_architectures.size == 1 || all_architectures.size == 1 %]
@@ -87,7 +91,7 @@ Please consider using a longer keyword or more keywords.</p>
        </colgroup>
 <tr>
        <th><a title="Sort results by filename" href="[% make_search_url('',"keywords=$keyword_esc&amp;sort_by=file") %]">File</a></th>
-       <th><a title="Sort results by package name" href="[% make_search_url('',"keywords=$keyword_esc&amp;sort_by=pkg") %]">Packages</th>
+       <th><a title="Sort results by package name" href="[% make_search_url('',"keywords=$keyword_esc&amp;sort_by=pkg") %]">Packages</a></th>
 </tr>
 [% FOREACH results %]
 [% file = html_encode(file);
@@ -121,3 +125,5 @@ Please consider using a longer keyword or more keywords.</p>
 <p id="psearchnoresult">Sorry, your search gave no results</p>
 
 [% END %]
+
+[%- PROCESS 'html/foot.tmpl' -%]