[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[%# INTERFACE:
# bug.bug_id: integer. Number of current bug (for navigation purposes)
#%]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
[% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %]
[%# *** Attachment *** %]
[% IF attachment && attachment.bug_id %]
[% END %]
[%# *** Dependencies, Activity, Print-version *** %]
[% IF bug %]
[% IF Param('webdotbase') %]
[% END %]
[% END %]
[%# *** Saved Searches *** %]
[% IF user.showmybugslink %]
[% user_login = user.login FILTER uri %]
[% END %]
[% FOREACH q = user.queries_subscribed %]
[% END %]
[%# *** Bugzilla Administration Tools *** %]
[% IF user.login %]
[% '' IF user.in_group('tweakparams') %]
[% '' IF user.in_group('editusers') %]
[% ''
IF user.in_group('editcomponents') || user.get_products_by_permission("editcomponents").size %]
[% '' IF user.in_group('editcomponents') %]
[% '' IF user.in_group('creategroups') %]
[% '' IF user.in_group('editkeywords') %]
[% '' IF user.in_group('bz_canusewhines') %]
[% '' IF user.in_group('editcomponents') %]
[% END %]
[% END %]