summaryrefslogtreecommitdiffstats
path: root/templates/packages/signoffs.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-12 03:53:50 +0100
committerDan McGee <dan@archlinux.org>2012-12-12 03:54:35 +0100
commit040e0ddea591702856ce7d737bf4ea31f60a89e5 (patch)
tree32088e4dc6979477498ad43384ae76ff9f4e0d04 /templates/packages/signoffs.html
parent911d6067bc62c02b9a4a63f4e6278d7118999869 (diff)
downloadarchweb-040e0ddea591702856ce7d737bf4ea31f60a89e5.tar.gz
archweb-040e0ddea591702856ce7d737bf4ea31f60a89e5.tar.xz
Collapse really long signoff specifications using JS
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/signoffs.html')
-rw-r--r--templates/packages/signoffs.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index b673723..20371f9 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -69,7 +69,7 @@
{% endif %}
{% endif %}
<td>{% include "packages/signoff_cell.html" %}</td>
- <td class="wrap">{% if not group.default_spec %}{% with group.specification as spec %}{% comment %}
+ <td class="wrap note">{% 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 %}
@@ -95,5 +95,8 @@ $(document).ready(function() {
// fire function on page load to ensure the current form selections take effect
filter_signoffs();
});
+$(document).ready(function() {
+ collapseNotes('.note');
+});
</script>
{% endblock %}