aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/global/common-links.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-05 23:18:06 +0000
committerlpsolit%gmail.com <>2007-04-05 23:18:06 +0000
commit6c64d00a569bb404a8a7f41affc26d662bde2772 (patch)
tree93fbe57544b00a3d0ac4340965eadc5334f8c317 /template/en/default/global/common-links.html.tmpl
parentebdb51f9c17bc2533cf11db1582c1212c680989c (diff)
downloadbugs-6c64d00a569bb404a8a7f41affc26d662bde2772.tar
bugs-6c64d00a569bb404a8a7f41affc26d662bde2772.tar.gz
bugs-6c64d00a569bb404a8a7f41affc26d662bde2772.tar.bz2
bugs-6c64d00a569bb404a8a7f41affc26d662bde2772.tar.xz
bugs-6c64d00a569bb404a8a7f41affc26d662bde2772.zip
Bug 286338: Remove admin options from footer in favor of a single link to Admin Options - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
Diffstat (limited to 'template/en/default/global/common-links.html.tmpl')
-rw-r--r--template/en/default/global/common-links.html.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl
index dca5d7262..937f7a955 100644
--- a/template/en/default/global/common-links.html.tmpl
+++ b/template/en/default/global/common-links.html.tmpl
@@ -55,6 +55,13 @@
[% IF user.login %]
<li><span class="separator">| </span><a href="userprefs.cgi">Preferences</a></li>
+ [% IF user.groups.tweakparams || user.groups.editusers || user.can_bless
+ || (Param('useclassification') && user.groups.editclassifications)
+ || user.groups.editcomponents || user.groups.admin || user.groups.creategroups
+ || user.groups.editkeywords || user.groups.bz_canusewhines
+ || user.get_products_by_permission("editcomponents").size %]
+ <li><span class="separator">| </span><a href="admin.cgi">Administration</a></li>
+ [% END %]
<li>
<span class="separator">| </span>
[% IF user.authorizer.can_logout %]