summaryrefslogtreecommitdiff
path: root/templates/packages/signoff_cell.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-03 21:32:30 -0500
committerDan McGee <dan@archlinux.org>2011-11-03 21:32:30 -0500
commit0aa42e2c01df2bf1c9e425994420f5ae10252597 (patch)
tree8c1b302064748dfe4736dac7659157a162b5f87a /templates/packages/signoff_cell.html
parent5e295a3dbb0b64f229e9419384721b154e013b9e (diff)
Allow signoff manipulation if you are a maintainer
This is a more expensive and not-yet-optimized way of doing this, but we can fix that later as needed. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/signoff_cell.html')
-rw-r--r--templates/packages/signoff_cell.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/signoff_cell.html b/templates/packages/signoff_cell.html
index 4f9f726b..0bf44ca2 100644
--- a/templates/packages/signoff_cell.html
+++ b/templates/packages/signoff_cell.html
@@ -17,7 +17,7 @@
title="Signoff {{ group.pkgbase }} for {{ group.arch }}">Signoff</a></div>
{% endif %}
{% endif %}
-{% if group.packager == user %}
+{% if user == group.packager or user in group.maintainers %}
<div>
<a class="signoff-options" href="{{ group.package.get_absolute_url }}signoff/options/">Signoff Options</a>
</div>