From 30f775f0b4242e1c6788a7fb1b513a888617de8f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 29 Mar 2012 11:50:21 -0500 Subject: Use spaceless tag on signoffs page More whitespace collapsing to shrink the HTML size quite a bit. Signed-off-by: Dan McGee --- templates/packages/signoffs.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'templates/packages/signoffs.html') diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 3a2c350..b20483c 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -52,6 +52,7 @@ {% for group in signoff_groups %} + {% spaceless %} {% pkg_details_link group.package %} {{ group.version }} {{ group.arch.name }} {{ group.target_repo }} @@ -68,12 +69,13 @@ {% endif %} {% endif %} {% include "packages/signoff_cell.html" %} - {% if not group.default_spec %}{% with group.specification as spec %} - {% if spec.required != 2 %}Required signoffs: {{ spec.required }}
{% endif %} - {% if not spec.enabled %}Signoffs are not currently enabled
{% endif %} - {% if spec.known_bad %}Package is known to be bad
{% endif %} - {{ spec.comments|default:""|linebreaksbr }} + {% if not group.default_spec %}{% with group.specification as spec %}{% comment %} + {% endcomment %}{% if spec.required != 2 %}Required signoffs: {{ spec.required }}
{% endif %}{% comment %} + {% endcomment %}{% if not spec.enabled %}Signoffs are not currently enabled
{% endif %}{% comment %} + {% endcomment %}{% if spec.known_bad %}Package is known to be bad
{% endif %}{% comment %} + {% endcomment %}{{ spec.comments|default:""|linebreaksbr }} {% endwith %}{% endif %} + {% endspaceless %} {% endfor %} -- cgit v1.2.3-24-g4f1b