From 50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 8 Aug 2008 06:26:33 +0000 Subject: Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names). --- template/en/default/list/quips.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/list') diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl index 14cecb26e..b8359ffc6 100644 --- a/template/en/default/list/quips.html.tmpl +++ b/template/en/default/list/quips.html.tmpl @@ -37,7 +37,7 @@

Your quip '[% added_quip FILTER html %]' has been added. - [% IF Param("quip_list_entry_control") == "moderated" AND !user.groups.admin %] + [% IF Param("quip_list_entry_control") == "moderated" AND !user.in_group('admin') %] It will be used as soon as it gets approved. [% END %] @@ -66,7 +66,7 @@

You can extend the quip list. Type in something clever or funny or boring (but not obscene or offensive, please) and bonk on the button. - [% IF Param("quip_list_entry_control") == "moderated" AND !user.groups.admin %] + [% IF Param("quip_list_entry_control") == "moderated" AND !user.in_group('admin') %] Note that your quip has to be approved before it is used. [% END %]

-- cgit v1.2.3-24-g4f1b