From bf68d5918c2eea9b123ee36c7f3541cc1154e060 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 12 Aug 2009 01:42:32 +0000 Subject: Bug 509108: Don't require a bug_list parameter to show the bug template (create the last_bug_list global template parameter) Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- .../en/default/global/site-navigation.html.tmpl | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'template/en/default/global/site-navigation.html.tmpl') diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl index 5440fe1f8..df60b7638 100644 --- a/template/en/default/global/site-navigation.html.tmpl +++ b/template/en/default/global/site-navigation.html.tmpl @@ -20,7 +20,6 @@ #%] [%# 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) #%] @@ -32,31 +31,6 @@ [% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %] - [%# *** Bug List Navigation *** %] - [% IF bug_list && bug_list.size > 0 %] - - - - - - [% IF bug && bug.bug_id %] - [% 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 %] - [% END %] - [%# *** Attachment *** %] [% IF attachment && attachment.bug_id %] -- cgit v1.2.3-24-g4f1b