summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-29 11:50:21 -0500
committerDan McGee <dan@archlinux.org>2012-03-29 11:50:21 -0500
commit30f775f0b4242e1c6788a7fb1b513a888617de8f (patch)
tree220725c9d55b67e1f07f23e0990a1c646f197ec9 /templates/packages
parentef88f3d5ef696b71a65a81f143b13ae27175a1c5 (diff)
Use spaceless tag on signoffs page
More whitespace collapsing to shrink the HTML size quite a bit. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/signoff_cell.html2
-rw-r--r--templates/packages/signoffs.html12
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/packages/signoff_cell.html b/templates/packages/signoff_cell.html
index 01a5d58d..7d9e1972 100644
--- a/templates/packages/signoff_cell.html
+++ b/templates/packages/signoff_cell.html
@@ -1,4 +1,3 @@
-{% spaceless %}
{% if group.signoffs %}
<ul class="signoff-list">
{% for signoff in group.signoffs %}
@@ -22,4 +21,3 @@
<a class="signoff-options" href="{{ group.package.get_absolute_url }}signoff/options/">Signoff Options</a>
</div>
{% endif %}
-{% endspaceless %}
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index 3a2c3509..b20483c0 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -52,6 +52,7 @@
<tbody id="tbody_signoffs">
{% for group in signoff_groups %}
<tr class="{% cycle 'odd' 'even' %} {{ group.arch.name }} {{ group.target_repo|lower }}">
+ {% spaceless %}
<td>{% pkg_details_link group.package %} {{ group.version }}</td>
<td>{{ group.arch.name }}</td>
<td>{{ group.target_repo }}</td>
@@ -68,12 +69,13 @@
{% endif %}
{% endif %}
<td>{% include "packages/signoff_cell.html" %}</td>
- <td class="wrap">{% if not group.default_spec %}{% with group.specification as spec %}
- {% if spec.required != 2 %}Required signoffs: {{ spec.required }}<br/>{% endif %}
- {% if not spec.enabled %}Signoffs are not currently enabled<br/>{% endif %}
- {% if spec.known_bad %}Package is known to be bad<br/>{% endif %}
- {{ spec.comments|default:""|linebreaksbr }}
+ <td class="wrap">{% if not group.default_spec %}{% with group.specification as spec %}{% comment %}
+ {% endcomment %}{% if spec.required != 2 %}Required signoffs: {{ spec.required }}<br/>{% endif %}{% comment %}
+ {% endcomment %}{% if not spec.enabled %}Signoffs are not currently enabled<br/>{% endif %}{% comment %}
+ {% endcomment %}{% if spec.known_bad %}Package is known to be bad<br/>{% endif %}{% comment %}
+ {% endcomment %}{{ spec.comments|default:""|linebreaksbr }}
{% endwith %}{% endif %}</td>
+ {% endspaceless %}
</tr>
{% endfor %}
</tbody>