From 0d39e7b417190ad672219768eab41d627cc68bb9 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Fri, 25 Jun 2010 14:16:27 -0700 Subject: Bug 573173: Make Bugzilla::Bug's add_group and remove_group take group names instead of ids r=dkl, a=mkanat --- template/en/default/global/user-error.html.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (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 373a9dc31..91211d56b 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -701,7 +701,7 @@ [% ELSIF error == "group_change_denied" %] [% title = "Cannot Add/Remove That Group" %] - You tried to add or remove group id [% group_id FILTER html %] + You tried to add or remove the '[% group.name FILTER html %]' group from [% terms.bug %] [%+ bug.id FILTER html %], but you do not have permissions to do so. @@ -726,13 +726,13 @@ [% 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 FILTER html %]' product can not be removed from that + from the '[% group.name FILTER html %]' group, but [% terms.bugs %] + in the '[% product 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 + to the '[% group.name FILTER html %]' group, but [% terms.bugs %] in the '[% product FILTER html %]' product can not be restricted to that group. -- cgit v1.2.3-24-g4f1b