Fix for bug 176509: "(this bug is not in your list)" no longer appears in the…

Fix for bug 176509: "(this bug is not in your list)" no longer appears in the navigation bar when you aren't viewing a bug. Patch by Jody McIntyre <jodym@oeone.com> r=justdave
parent 0a8e6198
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
<a href="show_bug.cgi?id=[% bug_list.first %]">First</a> <a href="show_bug.cgi?id=[% bug_list.first %]">First</a>
<a href="show_bug.cgi?id=[% bug_list.last %]">Last</a> <a href="show_bug.cgi?id=[% bug_list.last %]">Last</a>
[% IF bug.bug_id %]
[% IF this_bug_idx != -1 %] [% IF this_bug_idx != -1 %]
[% IF this_bug_idx > 0 %] [% IF this_bug_idx > 0 %]
[% prev_bug = this_bug_idx - 1 %] [% prev_bug = this_bug_idx - 1 %]
...@@ -46,6 +47,9 @@ ...@@ -46,6 +47,9 @@
[% ELSE %] [% ELSE %]
(This bug is not in your list) (This bug is not in your list)
[% END %] [% END %]
[% ELSE %]
&nbsp;&nbsp;
[% END %]
&nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=1">Show list</a> &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=1">Show list</a>
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment