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 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates/mirrors/status.html') diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 8d32d3fa..26e81e79 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -87,16 +87,14 @@

Mirror Syncing Error Log

- {% 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 %} -- cgit v1.2.3-54-g00ecf From 3e085183bf39c59fdcd0b9e67b5a02653a51d30e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 20 Apr 2013 11:28:12 -0500 Subject: Move all script blocks into {% script_block %} section I added this a while back, but didn't roll it out to all templates. Signed-off-by: Dan McGee --- templates/devel/clock.html | 3 +++ templates/devel/index.html | 2 ++ templates/devel/packages.html | 3 +++ templates/devel/profile.html | 2 ++ templates/mirrors/mirror_details.html | 3 +++ templates/mirrors/status.html | 3 +++ templates/packages/details.html | 2 ++ templates/packages/differences.html | 2 ++ templates/packages/groups.html | 3 +++ templates/packages/packages_list.html | 3 +++ templates/packages/signoffs.html | 3 +++ templates/packages/stale_relations.html | 3 +++ templates/public/keys.html | 2 ++ templates/registration/login.html | 2 ++ templates/releng/iso_overview.html | 3 +++ templates/releng/release_list.html | 2 ++ templates/releng/result_list.html | 3 +++ templates/todolists/list.html | 3 +++ templates/todolists/view.html | 3 +++ templates/visualize/index.html | 2 ++ 20 files changed, 52 insertions(+) (limited to 'templates/mirrors/status.html') diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 83fbb70b..2c5bfacf 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -56,6 +56,9 @@

Developer World Clocks

+{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 26e81e79..283ff681 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -99,6 +99,9 @@

Mirror Syncing Error Log

+{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} diff --git a/templates/registration/login.html b/templates/registration/login.html index edbb77ea..82f74f58 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -21,7 +21,9 @@

Developer Login

+{% endblock %} +{% block script_block %} {% load cdn %}{% jquery %} -- cgit v1.2.3-54-g00ecf