summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-21 04:30:29 +0200
committerlpsolit%gmail.com <>2005-06-21 04:30:29 +0200
commit9138d8995d1408306fbf24d43ac21066883c7970 (patch)
treedd897edea425226fd0d58e58ee07239cb84d6edb /template
parent5f173728faa3420461cb6f77b32f392bd58a1777 (diff)
downloadbugzilla-9138d8995d1408306fbf24d43ac21066883c7970.tar.gz
bugzilla-9138d8995d1408306fbf24d43ac21066883c7970.tar.xz
Bug 151411: "(This bug is not in your list)" is confusing - Patch by Alfred Karl Kornel <kornel.1@osu.edu> r=myk,LpSolit a=myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/navigate.html.tmpl15
1 files changed, 13 insertions, 2 deletions
diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl
index 68b894b0c..0263f6535 100644
--- a/template/en/default/bug/navigate.html.tmpl
+++ b/template/en/default/bug/navigate.html.tmpl
@@ -28,8 +28,10 @@
([% this_bug_idx + 1 %] of [% bug_list.size %])
[% END %]
+[% IF this_bug_idx != -1 %]
<a href="show_bug.cgi?id=[% bug_list.first %]">First</a>
<a href="show_bug.cgi?id=[% bug_list.last %]">Last</a>
+[% END %]
[% IF bug.bug_id %]
[% IF this_bug_idx != -1 %]
@@ -47,13 +49,22 @@
<i><font color="#777777">Next</font></i>
[% END %]
[% ELSE %]
- (This [% terms.bug %] is not in your list)
+ (This [% terms.bug %] is not in your last search results)
[% 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 last search results</a>
+[% ELSE %]
+ [%# Either !bug_list || bug_list.size <= 0 %]
+ [%# With no list, don't show link to search results %]
+ <i><font color="#777777">First</font></i>
+ <i><font color="#777777">Last</font></i>
+ <i><font color="#777777">Prev</font></i>
+ <i><font color="#777777">Next</font></i>
+ &nbsp;&nbsp;
+ <i><font color="#777777">No search results available</font></i>
[% END %]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>