From a404e6c3e3d777f09ef2ab8100ad01a20a3c885c Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 12 Jan 2008 22:23:10 +0000 Subject: Bug 401965: Move groups updating from process_bug.cgi to Bugzilla::Bug Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/global/user-error.html.tmpl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 2848ab5a4..46ed901a2 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -600,6 +600,12 @@ in the database which refer to it. All references to this group must be removed before you can remove it. + [% ELSIF error == "group_change_denied" %] + [% title = "Cannot Add/Remove That Group" %] + You tried to add or remove group id [% group_id FILTER html %] + from [% terms.bug %] [%+ bug.id FILTER html %], but you do not + have permissions to do so. + [% ELSIF error == "group_exists" %] [% title = "The group already exists" %] The group [% name FILTER html %] already exists. @@ -618,6 +624,19 @@ In order to delete this group, you first have to change the [%+ param FILTER html %] to make [% attr FILTER html %] point to another group. + + [% ELSIF error == "group_invalid_removal" %] + You tried to remove [% terms.bug %] [%+ bug.id FILTER html %] + from group id [% group_id FILTER html %], but [% terms.bugs %] in the + '[% product.name FILTER html %]' product can not be removed from that + group. + + [% ELSIF error == "group_invalid_restriction" %] + You tried to restrict [% terms.bug %] [%+ bug.id FILTER html %] to + to group id [% group_id FILTER html %], but [% terms.bugs %] in the + '[% product.name FILTER html %]' product can not be restricted to + that group. + [% ELSIF error == "group_not_specified" %] [% title = "Group not specified" %] No group was specified. -- cgit v1.2.3-24-g4f1b