summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-29 18:53:32 +0200
committerDan McGee <dan@archlinux.org>2012-03-29 18:53:32 +0200
commit9eb5b4e607cd0886578da104617a6209aa89ec8d (patch)
tree0980f5e05d714ce62675e0205b01ad0de2fcf1cd /templates
parent30f775f0b4242e1c6788a7fb1b513a888617de8f (diff)
downloadarchweb-9eb5b4e607cd0886578da104617a6209aa89ec8d.tar.gz
archweb-9eb5b4e607cd0886578da104617a6209aa89ec8d.tar.xz
Use spaceless tag on package search results
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 030f267..ebd4e6c 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -77,7 +77,7 @@
</thead>
<tbody>
{% for pkg in package_list %}
- <tr class="{% cycle 'odd' 'even' %}">
+ {% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
{% if perms.main.change_package %}
<td><input type="checkbox" name="pkgid" value="{{ pkg.id }}" /></td>
{% endif %}
@@ -93,7 +93,7 @@
<td>{{ pkg.last_update|date }}</td>
<td>{{ pkg.flag_date|date }}</td>
</tr>
- {% endfor %}
+ {% endspaceless %}{% endfor %}
</tbody>
</table>
{% include "packages/search_paginator.html" %}