From 040e0ddea591702856ce7d737bf4ea31f60a89e5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 11 Dec 2012 20:53:50 -0600 Subject: Collapse really long signoff specifications using JS Signed-off-by: Dan McGee --- templates/packages/signoffs.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index b6737230..20371f95 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -69,7 +69,7 @@

Filter Displayed Signoffs

{% endif %} {% endif %} {% include "packages/signoff_cell.html" %} - {% if not group.default_spec %}{% with group.specification as spec %}{% comment %} + {% 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 %} @@ -95,5 +95,8 @@

Filter Displayed Signoffs

// fire function on page load to ensure the current form selections take effect filter_signoffs(); }); +$(document).ready(function() { + collapseNotes('.note'); +}); {% endblock %} -- cgit v1.2.3-54-g00ecf