summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-29 11:53:32 -0500
committerDan McGee <dan@archlinux.org>2012-03-29 11:53:32 -0500
commit9eb5b4e607cd0886578da104617a6209aa89ec8d (patch)
tree0980f5e05d714ce62675e0205b01ad0de2fcf1cd
parent30f775f0b4242e1c6788a7fb1b513a888617de8f (diff)
Use spaceless tag on package search results
Signed-off-by: Dan McGee <dan@archlinux.org>
-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 030f2671..ebd4e6c4 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" %}