From 8383a071608329c7683f7a710030ce945bd20b4d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 8 Jul 2012 23:30:48 -0500 Subject: Add a new jquery_tablesorter CDN template tag And use it everywhere we were including the file before. This should make updating the version a heck of a lot easier. Signed-off-by: Dan McGee --- templates/packages/signoffs.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/packages/signoffs.html') diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index b20483c0..fc6adca2 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -81,8 +81,7 @@ -{% load cdn %}{% jquery %} - +{% load cdn %}{% jquery %}{% jquery_tablesorter %} {% endblock %} -- cgit v1.2.3-2-g168b 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/packages/signoffs.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'templates/packages/signoffs.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 @@ - {% for group in signoff_groups %} - - {% spaceless %} + {% for group in signoff_groups %} {% pkg_details_link group.package %} {{ group.version }} {{ group.arch.name }} {{ group.target_repo }} @@ -75,9 +73,7 @@ {% endcomment %}{% if spec.known_bad %}Package is known to be bad
{% endif %}{% comment %} {% endcomment %}{{ spec.comments|default:""|linebreaksbr }} {% endwith %}{% endif %} - {% endspaceless %} - - {% endfor %} + {% endfor %} -- cgit v1.2.3-2-g168b 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/packages/signoffs.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/packages/signoffs.html') diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 2879c30b..6fbbd00e 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -77,6 +77,9 @@ +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %}