From d10c13e019acfb67df17e9360fda9e23c49059be Mon Sep 17 00:00:00 2001
From: Frédéric Buclin
Date: Wed, 17 Feb 2010 22:32:22 +0100
Subject: Bug 545029: When deleting a group, no warning is thrown about group
inheritance r=mkanat a=LpSolit
---
template/en/default/admin/groups/delete.html.tmpl | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl
index c1a9403f9..9d32da4de 100644
--- a/template/en/default/admin/groups/delete.html.tmpl
+++ b/template/en/default/admin/groups/delete.html.tmpl
@@ -60,6 +60,15 @@
all users from this group for me.
[% END %]
+ [% IF group.granted_by_direct(constants.GROUP_MEMBERSHIP).size %]
+ Members of this group inherit membership in the following groups:
+
+ [% FOREACH grantor = group.granted_by_direct(constants.GROUP_MEMBERSHIP) %]
+ - [% grantor.name FILTER html %]
+ [% END %]
+
+ [% END %]
+
[% IF group.bugs.size %]
[% group.bugs.size FILTER html %] [%+ terms.bug %] reports are
visible only to this group. You cannot delete this group while any
--
cgit v1.2.3-24-g4f1b