diff options
author | bugreport%peshkin.net <> | 2004-08-21 06:49:17 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-08-21 06:49:17 +0200 |
commit | 88d26275229b5f52f435130496169766313c87b7 (patch) | |
tree | c71532045500b6e2335b1e5e2512d10b8846551b /template/en/default/global/useful-links.html.tmpl | |
parent | 2f9f28d0bfb1f321d1548844a41aaf2d51789695 (diff) | |
download | bugzilla-88d26275229b5f52f435130496169766313c87b7.tar.gz bugzilla-88d26275229b5f52f435130496169766313c87b7.tar.xz |
Bug 224208 Add a higher level of categorization (.ie departments, locations, etc.)
patch by Albert Ting
r=joel, glob
a=myk
Diffstat (limited to 'template/en/default/global/useful-links.html.tmpl')
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 7e568372c..8a11b2ad3 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -77,8 +77,17 @@ IF user.groups.tweakparams %] [% ' | <a href="editusers.cgi">Users</a>' IF user.groups.editusers || user.can_bless %] - [% ' | <a href="editproducts.cgi">Products</a>' + [% IF Param('useclassification') %] + [% IF user.groups.editclassifications %] + [% ' | <a href="editclassifications.cgi">Classifications</a>' %] + [% END %] + [% IF user.groups.editcomponents %] + [% ' | <a href="editproducts.cgi">Products</a>' %] + [% END %] + [% ELSE %] + [% ' | <a href="editproducts.cgi">Products</a>' IF user.groups.editcomponents %] + [% END %] [% ' | <a href="editflagtypes.cgi">Flags</a>' IF user.groups.editcomponents %] [% ' | <a href="editgroups.cgi">Groups</a>' |