diff options
author | mkanat%bugzilla.org <> | 2007-03-06 11:54:07 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-03-06 11:54:07 +0100 |
commit | fd5be728fcf18479146aab4d52254c3475124154 (patch) | |
tree | 716b8f177abb39fb8dc8dbd0c8eb5b7f75f199bf /template/en/default/admin/groups/remove.html.tmpl | |
parent | b1a24eebebdab3a6fbae9bd8fd99736e130da0a9 (diff) | |
download | bugzilla-fd5be728fcf18479146aab4d52254c3475124154.tar.gz bugzilla-fd5be728fcf18479146aab4d52254c3475124154.tar.xz |
Bug 354627: Improve the UI for adding/removing inheritance in editgroups.cgi
Patch By Max Kanat-Alexander <mkanat@bugzilla.org r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/admin/groups/remove.html.tmpl')
-rw-r--r-- | template/en/default/admin/groups/remove.html.tmpl | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/template/en/default/admin/groups/remove.html.tmpl b/template/en/default/admin/groups/remove.html.tmpl index 8c41333e4..fc7613359 100644 --- a/template/en/default/admin/groups/remove.html.tmpl +++ b/template/en/default/admin/groups/remove.html.tmpl @@ -20,36 +20,21 @@ # Joel Peshkin <bugreport@peshkin.net> # Jacob Steenhagen <jake@bugzilla.org> # Vlad Dascalu <jocuri@softhome.net> + # Max Kanat-Alexander <mkanat@bugzilla.org> #%] [%# INTERFACE: - # remove_all: boolean int. Is 1 if the action was remove_all, - # and 0 if the action was remove_all_regexp. - # name: string. The place where removal is performed. - # regexp: string. The regexp according to which the removal is performed. - # users: array with group objects having the properties: - # - login: string. The login which is removed. + # group: The Bugzilla::Group being modified. + # regexp: string. The regexp according to which the removal was performed. + # users: Array of Bugzilla::User objects who were removed from this group. #%] -[% IF remove_all %] - [% title = BLOCK %] - Removing All Explicit Group Memberships from '[% name FILTER html %]' - [% END %] -[% ELSE %] - [% title = BLOCK %] - Removing All Explicit Group Memberships Matching Group RegExp from '[% name FILTER html %]' - [% END %] -[% END %] - -[% PROCESS global/header.html.tmpl %] +[% PROCESS global/header.html.tmpl + title = "Removing Explicit Group Membership" %] -[% IF remove_all %] - <p><b>Removing explicit membership</b></p> -[% ELSE %] - <p><b>Removing explicit memberships of users matching - '[% regexp FILTER html %]'...</b></p> -[% END %] +<p><b>Removing explicit memberships[% IF regexp %] of users matching + '[% regexp FILTER html %]'[% END %]...</b></p> [% FOREACH user = users %] [% user.login FILTER html %] removed<br> |