Use spaceless tag on package search results

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2012-03-29 11:53:32 -05:00
parent 30f775f0b4
commit 9eb5b4e607

View File

@ -77,7 +77,7 @@ <h3>Package Search</h3>
</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 @@ <h3>Package Search</h3>
<td>{{ pkg.last_update|date }}</td>
<td>{{ pkg.flag_date|date }}</td>
</tr>
{% endfor %}
{% endspaceless %}{% endfor %}
</tbody>
</table>
{% include "packages/search_paginator.html" %}