From b519c40e0af5b86ba660cf9d9cfc53a66fd8bef8 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 20 Apr 2013 11:11:04 -0500 Subject: 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 --- templates/mirrors/status.html | 6 ++---- templates/mirrors/status_table.html | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'templates/mirrors') diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 8d32d3f..26e81e7 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -87,16 +87,14 @@ - {% for log in error_logs %} - {% spaceless %} + {% for log in error_logs %} {{ log.url__url }} {{ log.url__protocol__protocol }} {% country_flag log.country %}{{ log.country.name }} {{ log.error|linebreaksbr }} {{ log.last_occurred|date:'Y-m-d H:i' }} {{ log.error_count }} - - {% endspaceless %}{% endfor %} + {% endfor %} diff --git a/templates/mirrors/status_table.html b/templates/mirrors/status_table.html index 2dd7ef4..e848a9c 100644 --- a/templates/mirrors/status_table.html +++ b/templates/mirrors/status_table.html @@ -14,8 +14,7 @@ - {% for m_url in urls %} - {% spaceless %} + {% for m_url in urls %} {{ m_url.url }} {{ m_url.protocol }} {% country_flag m_url.country %}{{ m_url.country.name }} @@ -24,7 +23,6 @@ {{ m_url.duration_avg|floatformat:2 }} {{ m_url.duration_stddev|floatformat:2 }} {{ m_url.score|floatformat:1|default:'∞' }} - - {% endspaceless %}{% endfor %} + {% endfor %} -- cgit v1.2.3-24-g4f1b