summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-08 08:26:33 +0200
committermkanat%bugzilla.org <>2008-08-08 08:26:33 +0200
commit50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 (patch)
tree424d04a868fb5fdffbfa2dd65cc8903ece84895f /template/en/default/list
parentaca14df0a0daca1f2eb637d400285e3f14add35e (diff)
downloadbugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.gz
bugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.xz
Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names).
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/quips.html.tmpl4
1 files changed, 2 insertions, 2 deletions
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 @@
<p>
<font color="red">
Your quip '<tt>[% added_quip FILTER html %]</tt>' 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 %]
</font>
@@ -66,7 +66,7 @@
<p>
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 %]
</p>