diff options
Diffstat (limited to 'template/en/default/global/site-navigation.html.tmpl')
-rw-r--r-- | template/en/default/global/site-navigation.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl index cb57df610..7c2eabecf 100644 --- a/template/en/default/global/site-navigation.html.tmpl +++ b/template/en/default/global/site-navigation.html.tmpl @@ -111,8 +111,8 @@ href="editparams.cgi">' IF user.groups.tweakparams %] [% '<link rel="Administration" title="Users" href="editusers.cgi">' IF user.groups.editusers %] - [% '<link rel="Administration" title="Products" - href="editproducts.cgi">' IF user.groups.editcomponents %] + [% '<link rel="Administration" title="Products" href="editproducts.cgi">' + IF user.groups.editcomponents || user.get_products_by_permission("editcomponents").size %] [% '<link rel="Administration" title="Flag Types" href="editflagtypes.cgi">' IF user.groups.editcomponents %] [% '<link rel="Administration" title="Groups" |