diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-06-29 20:08:18 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-06-29 20:08:18 -0400 |
commit | b579f98acf85e8d749a471a98f7940b859cb366f (patch) | |
tree | ed79f7521bddb5a3e33f3c3217ad1be08e54c19e /templates | |
parent | d241ae78eec85f4667fb24721ca027743c814df3 (diff) |
add maintainer column to search results
Diffstat (limited to 'templates')
-rw-r--r-- | templates/packages/search.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html index a64b92a2..9629a2c3 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -20,6 +20,7 @@ <td><span class="smalltext">Arch</span></td> <td><span class="smalltext">Repository</span></td> <td><span class="smalltext">Keywords</span></td> + <td><span class="smalltext">Maintainer</span></td> <td><span class="smalltext">Last Update</span></td> <td><span class="smalltext">Per Page</span></td> </tr><tr> @@ -40,6 +41,14 @@ </td><td> <input type="text" name="q" value="{{ query|escape }}" size="30" maxlength="200" /> </td><td> + <select name="maint"> + <option value="all">All</option> + {% for u in users %} + <option value="{{u.id}}" {% ifequal maint u.id + %}selected=selected {% + %endifequal%}>{{u.username}}</option> + {% endfor %} + </td><td> <input type="text" name="lastupdate" value="{{ lastupdate|escape }}" size="10" maxlength="10" id="f_lastupdate" /> <button type="reset" id="f_trigger">...</button> <script type="text/javascript"> Calendar.setup({ @@ -78,6 +87,7 @@ <th><a href="{% buildsortqs "pkgname" %}">Name</a></th> <th>Version</th> <th>Description</th> + <th><a href="{% buildsortqs "maintainer" %}">Maintainer</a></th> <th><a href="{% buildsortqs "-last_update" %}">Last Updated</a></th> </tr> {% for pkg in results %} @@ -92,6 +102,7 @@ <td>{{ pkg.pkgver }}-{{ pkg.pkgrel }}</td> {% endif %} <td>{{ pkg.pkgdesc }}</td> + <td>{{ pkg.maintainer|default:"Orphan" }}</td> <td>{{ pkg.last_update|date:"Y-m-d" }}</td> </tr> {% endfor %} |