From 0aa42e2c01df2bf1c9e425994420f5ae10252597 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 3 Nov 2011 21:32:30 -0500 Subject: 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 --- templates/packages/signoff_cell.html | 2 +- templates/todolists/view.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/packages/signoff_cell.html b/templates/packages/signoff_cell.html index 4f9f726..0bf44ca 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 {% endif %} {% endif %} -{% if group.packager == user %} +{% if user == group.packager or user in group.maintainers %}
Signoff Options
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 8f515c9..c9ea919 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -29,7 +29,7 @@ Name Arch Repo - Maintainer + Maintainers Status -- cgit v1.2.3-24-g4f1b