From 7d677ece7d55266f63924bc64cf2190df7c785a0 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 4 Sep 2006 23:21:47 +0000 Subject: Bug 283582: Remove UserInGroup in favor of Bugzilla->user->in_group Patch By victory(_RSZ_) r=mkanat, a=myk --- template/en/default/global/user-error.html.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 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 76823cdbc..c696989f2 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -907,8 +907,8 @@ 'components.html' => 'Creating a component'} %] Sorry, the product [% product FILTER html %] has to have at least one component in order for you to - enter [% terms.abug %] into it.

- [% IF UserInGroup("editcomponents") %] + enter [% terms.abug %] into it.
+ [% IF user.in_group("editcomponents") %] Create a new component. [% ELSE %] @@ -980,7 +980,7 @@ Sorry, the product [% product FILTER html %] has to have at least one version in order for you to enter [% terms.abug %] into it.

- [% IF UserInGroup("editcomponents") %] + [% IF user.in_group("editcomponents") %] Create a new version. [% ELSE %] -- cgit v1.2.3-24-g4f1b