diff options
author | mkanat%bugzilla.org <> | 2009-08-12 03:42:32 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-08-12 03:42:32 +0200 |
commit | bf68d5918c2eea9b123ee36c7f3541cc1154e060 (patch) | |
tree | bb2dee504ca5a4e621a505b694284aa30f6c3866 /template/en/default/global | |
parent | 73bb17590cf3f15166d20b028977d0c61a487b1e (diff) | |
download | bugzilla-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.gz bugzilla-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.xz |
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 <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/site-navigation.html.tmpl | 26 |
1 files changed, 0 insertions, 26 deletions
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")) %] <link rel="Top" href="[% urlbase FILTER html %]"> - [%# *** Bug List Navigation *** %] - [% IF bug_list && bug_list.size > 0 %] - <link rel="Up" href="buglist.cgi?regetlastlist=1"> - - <link rel="First" href="show_bug.cgi?id=[% bug_list.first %]"> - <link rel="Last" href="show_bug.cgi?id=[% bug_list.last %]"> - - [% 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 %] - <link rel="Prev" href="show_bug.cgi?id=[% bug_list.$prev_bug %]"> - [% END %] - - [% IF current_bug_idx + 1 < bug_list.size %] - [% next_bug = current_bug_idx + 1 %] - <link rel="Next" href="show_bug.cgi?id=[% bug_list.$next_bug %]"> - [% END %] - - [% END %] - [% END %] - [% END %] - [%# *** Attachment *** %] [% IF attachment && attachment.bug_id %] <link rel="Up" href="show_bug.cgi?id=[% attachment.bug_id FILTER none %]"> |