summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2006-03-03 08:45:08 +0100
committerjocuri%softhome.net <>2006-03-03 08:45:08 +0100
commit975b2688b862a89f302a77b9a42c8f794fed13a8 (patch)
tree3df78398c42c5bbb3ac4e44bb543471d956375a7 /template/en/default
parent41e3d85bc3339af17852b901f316d23d25b8ce18 (diff)
downloadbugzilla-975b2688b862a89f302a77b9a42c8f794fed13a8.tar.gz
bugzilla-975b2688b862a89f302a77b9a42c8f794fed13a8.tar.xz
Patch for bug 282613: add important admin edit flags to sidebar; patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>, r=vladd, a=justdave.
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/sidebar.xul.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 31f0a2c6b..b78b5521b 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -73,12 +73,18 @@ function normal_keypress_handler( aEvent ) {
<text class="text-link" onclick="load_relative_url('userprefs.cgi')" value="edit prefs"/>
[%- IF user.groups.tweakparams %]
<text class="text-link" onclick="load_relative_url('editparams.cgi')" value="edit params"/>
+ <text class="text-link" onclick="load_relative_url('editsettings.cgi')" value="edit user settings"/>
[%- END %]
[%- IF user.groups.editusers || user.can_bless %]
<text class="text-link" onclick="load_relative_url('editusers.cgi')" value="edit users"/>
[%- END %]
+ [%- IF Param('useclassification') && user.groups.editclassifications %]
+ <text class="text-link" onclick="load_relative_url('editclassifications.cgi')" value="edit classifications"/>
+ [%- END %]
[%- IF user.groups.editcomponents %]
<text class="text-link" onclick="load_relative_url('editcomponents.cgi')" value="edit components"/>
+ <text class="text-link" onclick="load_relative_url('editflagtypes.cgi')" value="edit flags"/>
+ <text class="text-link" onclick="load_relative_url('editvalues.cgi')" value="edit field values"/>
[%- END %]
[%- IF user.groups.creategroups %]
<text class="text-link" onclick="load_relative_url('editgroups.cgi')" value="edit groups"/>
@@ -86,6 +92,9 @@ function normal_keypress_handler( aEvent ) {
[%- IF user.groups.editkeywords %]
<text class="text-link" onclick="load_relative_url('editkeywords.cgi')" value="edit keywords"/>
[%- END %]
+ [%- IF user.groups.bz_canusewhines %]
+ <text class="text-link" onclick="load_relative_url('editwhines.cgi')" value="edit whining"/>
+ [%- END %]
[%- IF user.groups.tweakparams %]
<text class="text-link" onclick="load_relative_url('sanitycheck.cgi')" value="sanity check"/>
[%- END %]