[%# 1.0@bugzilla.org %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Toms Baugis # Gervase Markham #%] [%# INTERFACE: # bug_list: list of integers. List of bug numbers of current query (if any). # bug.bug_id: integer. Number of current bug (for navigation purposes) #%] [% PROCESS global/variables.none.tmpl %] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %] [%# *** Bug List Navigation *** %] [% IF bug && bug_list && bug_list.size > 0 %] [% current_bug_idx = lsearch(bug_list, bug.bug_id) %] [% IF current_bug_idx != -1 %] [% IF current_bug_idx > 0 %] [% prev_bug = current_bug_idx - 1 %] [% END %] [% IF current_bug_idx + 1 < bug_list.size %] [% next_bug = current_bug_idx + 1 %] [% END %] [% END %] [% END %] [%# *** Attachment *** %] [% IF attachment && attachment.bug_id %] [% END %] [%# *** Dependencies, Votes, Activity, Print-version *** %] [% IF bug %] [% IF Param('webdotbase') %] [% END %] [% IF bug.use_votes %] [% END %] [% END %] [%# *** Saved Searches *** %] [% IF user.showmybugslink %] [% user_login = user.login FILTER url_quote %] [% END %] [% FOREACH q = user.queries %] [% END %] [% FOREACH q = user.queries_subscribed %] [% END %] [%# *** Bugzilla Administration Tools *** %] [% IF user.login %] [% '' IF user.groups.tweakparams %] [% '' IF user.groups.editusers %] [% '' IF user.groups.editcomponents || user.get_products_by_permission("editcomponents").size %] [% '' IF user.groups.editcomponents %] [% '' IF user.groups.creategroups %] [% '' IF user.groups.editkeywords %] [% '' IF user.groups.bz_canusewhines %] [% '' IF user.groups.editcomponents %] [% END %] [% END %]