From 5555ce02278defaef0ef1388c163701eea3aff7e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 29 Mar 2012 11:35:40 -0500 Subject: 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 --- templates/mirrors/status.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/mirrors/status.html') 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 @@ {% for log in error_logs %} - + {% spaceless %} {{ log.url__url }} {{ log.url__protocol__protocol }} {{ log.country }} @@ -97,7 +97,7 @@ {{ log.last_occurred|date:'Y-m-d H:i' }} {{ log.error_count }} - {% endfor %} + {% endspaceless %}{% endfor %} -- cgit v1.2.3-2-g168b