summaryrefslogtreecommitdiff
path: root/templates/mirrors/status.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-29 11:35:40 -0500
committerDan McGee <dan@archlinux.org>2012-03-29 11:35:40 -0500
commit5555ce02278defaef0ef1388c163701eea3aff7e (patch)
tree587d090955c6084e608589702bb8f185cd6ee395 /templates/mirrors/status.html
parent076f9c51d50be9bb567e8477eff4c15bde62fcb3 (diff)
Use spaceless tag in mirror status output
This removes a lot of needless whitespace in the generated output, shrinking the uncompressed page size by 30KB to 54KB total on my current set of mirror test data. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r--templates/mirrors/status.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html
index 4f09be8b..225572ee 100644
--- a/templates/mirrors/status.html
+++ b/templates/mirrors/status.html
@@ -89,7 +89,7 @@
</thead>
<tbody>
{% for log in error_logs %}
- <tr class="{% cycle 'odd' 'even' %}">
+ {% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
<td>{{ log.url__url }}</td>
<td>{{ log.url__protocol__protocol }}</td>
<td>{{ log.country }}</td>
@@ -97,7 +97,7 @@
<td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td>
<td>{{ log.error_count }}</td>
</tr>
- {% endfor %}
+ {% endspaceless %}{% endfor %}
</tbody>
</table>