From 8dcbcd8b626fcade29f3bce8ab597de6380c7c6c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 8 Jul 2020 23:42:30 +0100 Subject: Add ability for users to remove themselves as maintainers --- app/templates/packages/view.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/templates/packages/view.html') diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 3885aca..8be65fb 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -272,6 +272,13 @@ {{ user.display_name }} {% endfor %} + + {% if current_user in package.maintainers and not package.checkPerm(current_user, "EDIT_MAINTAINERS") %} +
+ + +
+ {% endif %} -- cgit v1.2.3