diff options
author | lpsolit%gmail.com <> | 2007-04-05 23:18:06 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-04-05 23:18:06 +0000 |
commit | 6c64d00a569bb404a8a7f41affc26d662bde2772 (patch) | |
tree | 93fbe57544b00a3d0ac4340965eadc5334f8c317 /template/en/default/global/common-links.html.tmpl | |
parent | ebdb51f9c17bc2533cf11db1582c1212c680989c (diff) | |
download | bugs-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.tmpl | 7 |
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 %] |