diff options
author | mkanat%bugzilla.org <> | 2006-09-04 23:21:47 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-09-04 23:21:47 +0000 |
commit | 7d677ece7d55266f63924bc64cf2190df7c785a0 (patch) | |
tree | 7b666d17b8e5de6a8d1cd86c8a33030073acb9ef /template/en/default/global | |
parent | b63fd277afedfb5d101ce4700058609e81199855 (diff) | |
download | bugs-7d677ece7d55266f63924bc64cf2190df7c785a0.tar bugs-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.gz bugs-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.bz2 bugs-7d677ece7d55266f63924bc64cf2190df7c785a0.tar.xz bugs-7d677ece7d55266f63924bc64cf2190df7c785a0.zip |
Bug 283582: Remove UserInGroup in favor of Bugzilla->user->in_group
Patch By victory(_RSZ_) <bmo2007@rsz.jp> r=mkanat, a=myk
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
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 <em>[% product FILTER html %]</em> has to have at least one component in order for you to - enter [% terms.abug %] into it.<p> - [% IF UserInGroup("editcomponents") %] + enter [% terms.abug %] into it.<br> + [% IF user.in_group("editcomponents") %] <a href="editcomponents.cgi?action=add&product=[% product FILTER url_quote %]">Create a new component</a>. [% ELSE %] @@ -980,7 +980,7 @@ Sorry, the product <em>[% product FILTER html %]</em> has to have at least one version in order for you to enter [% terms.abug %] into it.<p> - [% IF UserInGroup("editcomponents") %] + [% IF user.in_group("editcomponents") %] <a href="editversions.cgi?action=add&product=[% product FILTER url_quote %]">Create a new version</a>. [% ELSE %] |