summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-20 11:11:04 -0500
committerDan McGee <dan@archlinux.org>2013-04-20 11:11:04 -0500
commitb519c40e0af5b86ba660cf9d9cfc53a66fd8bef8 (patch)
treeff02b2b1e1efb79ceec7fe3ce8f5f490450899bb /templates/packages
parent95ceb2a4a42093c9fd728e9e3d546943bc7b0b9d (diff)
Remove {% spaceless %} tag from a few more places
This tag is simply not worth the time it takes to do what it does. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/search.html6
-rw-r--r--templates/packages/signoffs.html8
2 files changed, 4 insertions, 10 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index bf1eecd9..f50bc8be 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -69,8 +69,7 @@
</tr>
</thead>
<tbody>
- {% for pkg in package_list %}
- {% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
+ {% for pkg in package_list %}<tr class="{% cycle 'odd' 'even' %}">
{% if perms.main.change_package %}
<td><input type="checkbox" name="pkgid" value="{{ pkg.id }}" /></td>
{% endif %}
@@ -85,8 +84,7 @@
<td class="wrap">{{ pkg.pkgdesc }}</td>
<td>{{ pkg.last_update|date }}</td>
<td>{{ pkg.flag_date|date }}</td>
- </tr>
- {% endspaceless %}{% endfor %}
+ </tr>{% endfor %}
</tbody>
</table>
{% include "packages/search_paginator.html" %}
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index 20371f95..2879c30b 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -50,9 +50,7 @@
</tr>
</thead>
<tbody id="tbody_signoffs">
- {% for group in signoff_groups %}
- <tr class="{% cycle 'odd' 'even' %} {{ group.arch.name }} {{ group.target_repo|lower }}">
- {% spaceless %}
+ {% for group in signoff_groups %}<tr class="{% cycle 'odd' 'even' %} {{ group.arch.name }} {{ group.target_repo|lower }}">
<td>{% pkg_details_link group.package %} {{ group.version }}</td>
<td>{{ group.arch.name }}</td>
<td>{{ group.target_repo }}</td>
@@ -75,9 +73,7 @@
{% endcomment %}{% if spec.known_bad %}Package is known to be bad<br/>{% endif %}{% comment %}
{% endcomment %}{{ spec.comments|default:""|linebreaksbr }}
{% endwith %}{% endif %}</td>
- {% endspaceless %}
- </tr>
- {% endfor %}
+ </tr>{% endfor %}
</tbody>
</table>
</div>