diff options
author | Byron Jones <bjones@mozilla.com> | 2013-06-27 06:33:20 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-06-27 06:33:20 +0200 |
commit | f78c42d80cc1a948e61e2176d4c262249a1be056 (patch) | |
tree | e567e604cc5c8812ccfac1fb47d2a0a45cec4eca /template/en/default | |
parent | a3454f5468ebd94e933d5e2b05456e548e149731 (diff) | |
download | bugzilla-f78c42d80cc1a948e61e2176d4c262249a1be056.tar.gz bugzilla-f78c42d80cc1a948e61e2176d4c262249a1be056.tar.xz |
Bug 882568: Remove unnecessary text about a bug not being part of last search
r=dkl, a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/navigate.html.tmpl | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl index 843c970c1..13564a8ea 100644 --- a/template/en/default/bug/navigate.html.tmpl +++ b/template/en/default/bug/navigate.html.tmpl @@ -21,18 +21,17 @@ [% Hook.process("links") %] <li> - <a href="#">Top of page </a></li> </ul> -[% END %] - +[% END %] -<div class="navigation"> [% SET my_search = user.recent_search_for(bug) %] [% IF my_search %] + <div class="navigation"> [% SET last_bug_list = my_search.bug_list %] [% SET this_bug_idx = lsearch(last_bug_list, bug.id) %] <b>[% terms.Bug %] List:</b> ([% this_bug_idx + 1 %] of [% last_bug_list.size %]) - + [% IF this_bug_idx > 0 %] <a href="show_bug.cgi?id= [%- last_bug_list.first FILTER uri %]&list_id= @@ -48,7 +47,7 @@ [% ELSE %] <i><font color="#777777">Last</font></i> [% END %] - + [% IF this_bug_idx > 0 %] [% prev_bug = this_bug_idx - 1 %] <a href="show_bug.cgi?id= @@ -69,14 +68,5 @@ <a href="buglist.cgi?regetlastlist= [%- my_search.id FILTER uri %]">Show last search results</a> -[% ELSE %] - [%# 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> - - <i><font color="#777777">This [% terms.bug %] is not in your last - search results.</font></i> + </div> [% END %] -</div> |