summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-22 17:50:03 +0200
committerDan McGee <dan@archlinux.org>2013-04-22 17:50:03 +0200
commit6fa6a8db0787fa40fa1c88b725b0bce184903c4c (patch)
treeb2cf3c23035ba994c947086f6ae5eec869f3aec3 /templates
parent007b8d7573b64fd7f17023fa0288ba79e05683c4 (diff)
downloadarchweb-6fa6a8db0787fa40fa1c88b725b0bce184903c4c.tar.gz
archweb-6fa6a8db0787fa40fa1c88b725b0bce184903c4c.tar.xz
Use required_signoffs value when creating signoff specs
And respect it elsewhere when we create a fake default specification because a real one does not exist yet. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/signoffs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index 6fbbd00..807b613 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -68,7 +68,7 @@
{% endif %}
<td>{% include "packages/signoff_cell.html" %}</td>
<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 spec.required != spec.arch.required_signoffs %}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 }}