summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-27 05:17:25 +0100
committerlpsolit%gmail.com <>2006-12-27 05:17:25 +0100
commit618959cbc2196f6b2156c40cddf63bf550eb78d8 (patch)
treec7aca4fa058bfe4a7c6ca66e6457b1d71271053a /template/en/default
parentf9f63fd6d55a88c4386dbcf732174b5ac2facec9 (diff)
downloadbugzilla-618959cbc2196f6b2156c40cddf63bf550eb78d8.tar.gz
bugzilla-618959cbc2196f6b2156c40cddf63bf550eb78d8.tar.xz
Bug 364780: The keyword cache cannot be fixed with editkeywords privs only - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/site-navigation.html.tmpl2
-rw-r--r--template/en/default/global/useful-links.html.tmpl2
-rw-r--r--template/en/default/sidebar.xul.tmpl2
3 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl
index 7c2eabecf..507b779c8 100644
--- a/template/en/default/global/site-navigation.html.tmpl
+++ b/template/en/default/global/site-navigation.html.tmpl
@@ -122,6 +122,6 @@
[% '<link rel="Administration" title="Whining"
href="editwhines.cgi">' IF user.groups.bz_canusewhines %]
[% '<link rel="Administration" title="Sanity Check"
- href="sanitycheck.cgi">' IF user.groups.tweakparams %]
+ href="sanitycheck.cgi">' IF user.groups.editcomponents %]
[% END %]
[% END %]
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index 8078a5d80..cd485ad8f 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -48,6 +48,8 @@
<li><span class="separator">[% sep %]</span><a href="editparams.cgi">Parameters</a></li>
[% sep = "| " %]
<li><span class="separator">[% sep %]</span><a href="editsettings.cgi">User Preferences</a></li>
+ [% END %]
+ [% IF user.groups.editcomponents %]
<li><span class="separator">[% sep %]</span><a href="sanitycheck.cgi">Sanity Check</a></li>
[% END %]
[% IF user.groups.editusers || user.can_bless %]
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 9ad50e07b..6742889da 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -94,7 +94,7 @@ function normal_keypress_handler( aEvent ) {
[%- IF user.groups.bz_canusewhines %]
<text class="text-link" onclick="load_relative_url('editwhines.cgi')" value="edit whining"/>
[%- END %]
- [%- IF user.groups.tweakparams %]
+ [%- IF user.groups.editcomponents %]
<text class="text-link" onclick="load_relative_url('sanitycheck.cgi')" value="sanity check"/>
[%- END %]
[%- IF user.authorizer.can_logout %]