summaryrefslogtreecommitdiff
path: root/templates/searchresults.html
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/searchresults.html
parent4a87687ce6598d89c9368d45f8f570d86c6c665e (diff)
downloadpatch-tracker-cd9c47eabb00f528f801ff3f1a73a3f22ce24d88.tar.gz
Add maintainer search in django implementation, commonize w/index search.
Diffstat (limited to 'templates/searchresults.html')
-rw-r--r--templates/searchresults.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/searchresults.html b/templates/searchresults.html
new file mode 100644
index 0000000..6f5abe5
--- /dev/null
+++ b/templates/searchresults.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+{% block title %}
+Debian Project patch tracking system
+{% endblock %}
+{% block content %}
+<h1>Debian Project patch tracking system</h1>
+<h2>Search Results: {{ searchDescription }} - {{ searchKey }}</h2>
+<table class="packagelisting">
+<tr>
+<th>package</th>
+{% for dist in packageIndex.dists %}
+ <th>{{ dist }}</th>
+{% endfor %}
+</tr>
+{% for row in packageIndex %}
+<tr>
+ <td>
+ <a name="{{ row.package.anchor_name }}" />
+ <a href="http://packages.debian.org/{{ row.package.name }}">{{ row.package.name }}</a>
+ </td>
+ {% for pkg in row.entries %}
+ <td>
+ {% if pkg %}
+ <a href="{{ conf.root_url }}/package/{{ pkg.name }}/{{ pkg.version }}">{{ pkg.wrappable_version|safe }}</a>
+ {% else %}
+ <i>n/a</i>
+ {% endif %}
+ </td>
+ {% endfor %}
+</tr>
+{% endfor %}
+</table>
+{% endblock %}