From 1d057f02b277d29ad4d232d598c49b0344798b40 Mon Sep 17 00:00:00 2001
From: "bbaetz%acm.org" <>
Date: Tue, 3 Jun 2003 16:47:37 +0000
Subject: Bug 180635 - Enhance Bugzilla::User to store additional information
r=myk,jake
---
template/en/default/sidebar.xul.tmpl | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
(limited to 'template/en/default/sidebar.xul.tmpl')
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index a065d447a..97b3fe4c0 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -72,37 +72,38 @@ function normal_keypress_handler( aEvent ) {
-[% IF username %]
+[% IF user %]
- [%- IF UserInGroup('tweakparams') %]
+ [%- IF user.groups.tweakparams %]
[%- END %]
- [%- IF UserInGroup('editusers') || canblessany %]
+ [%- IF user.groups.editusers || user.can_bless %]
[%- END %]
- [%- IF UserInGroup('editcomponents') %]
+ [%- IF user.groups.editcomponents %]
[%- END %]
- [%- IF UserInGroup('creategroups') %]
+ [%- IF user.groups.creategroups %]
[%- END %]
- [%- IF UserInGroup('editkeywords') %]
+ [%- IF user.groups.editkeywords %]
[%- END %]
- [%- IF UserInGroup('tweakparams') %]
+ [%- IF user.groups.tweakparams %]
[%- END %]
-
+
- [%- IF mybugsurl %]
-
+ [%- IF user.showmybugslink %]
+ [% filtered_username = user.login FILTER url_quote %]
+
[%- END %]
[%- IF Param('usevotes') %]
[%- END %]
- [%- FOREACH name = namedqueries %]
-
+ [%- FOREACH q = user.queries %]
+
[% END %]
[% ELSE %]
--
cgit v1.2.3-24-g4f1b