summaryrefslogtreecommitdiffstats
path: root/templates/packages/signoff_cell.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-04 01:10:07 +0100
committerDan McGee <dan@archlinux.org>2011-11-04 01:10:07 +0100
commit8187b87143081a2be75032db91287f9deb9d1f89 (patch)
tree3da2e4f1c38caa2e8f1069daa94c42a73343b535 /templates/packages/signoff_cell.html
parente3e3e498765ab416a2902adf114cd3270e3eb12e (diff)
downloadarchweb-8187b87143081a2be75032db91287f9deb9d1f89.tar.gz
archweb-8187b87143081a2be75032db91287f9deb9d1f89.tar.xz
Add signoff options form and data entry page
This allows the criteria and other information about certain signoffs to be overridden as necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/signoff_cell.html')
-rw-r--r--templates/packages/signoff_cell.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/packages/signoff_cell.html b/templates/packages/signoff_cell.html
index 8721619..0a63011 100644
--- a/templates/packages/signoff_cell.html
+++ b/templates/packages/signoff_cell.html
@@ -1,12 +1,23 @@
+{% spaceless %}
+{% if group.signoffs %}
<ul>
{% for signoff in group.signoffs %}
<li class="signed-username" title="Signed off by {{ signoff.user }}">{{ signoff.user }}{% if signoff.revoked %} (revoked){% endif %}</li>
{% endfor %}
</ul>
+{% endif %}
{% if group.user_signed_off %}
-<div><a class="signoff-link" href="{{ group.package.get_absolute_url }}signoff/revoke/"
+<div>
+ <a class="signoff-link" href="{{ group.package.get_absolute_url }}signoff/revoke/"
title="Revoke signoff {{ group.pkgbase }} for {{ group.arch }}">Revoke Signoff</a></div>
{% else %}
-<div><a class="signoff-link" href="{{ group.package.get_absolute_url }}signoff/"
+<div>
+ <a class="signoff-link" href="{{ group.package.get_absolute_url }}signoff/"
title="Signoff {{ group.pkgbase }} for {{ group.arch }}">Signoff</a></div>
{% endif %}
+{% if group.packager == user %}
+<div>
+ <a class="signoff-options" href="{{ group.package.get_absolute_url }}signoff/options/">Packager Options</a>
+</div>
+{% endif %}
+{% endspaceless %}