diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-03 21:32:30 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-03 21:32:30 -0500 |
commit | 0aa42e2c01df2bf1c9e425994420f5ae10252597 (patch) | |
tree | 8c1b302064748dfe4736dac7659157a162b5f87a /templates | |
parent | 5e295a3dbb0b64f229e9419384721b154e013b9e (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')
-rw-r--r-- | templates/packages/signoff_cell.html | 2 | ||||
-rw-r--r-- | templates/todolists/view.html | 2 |
2 files changed, 2 insertions, 2 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> diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 8f515c9b..c9ea919a 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -29,7 +29,7 @@ <th>Name</th> <th>Arch</th> <th>Repo</th> - <th>Maintainer</th> + <th>Maintainers</th> <th>Status</th> </tr> </thead> |