summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-06-27 06:33:31 +0200
committerByron Jones <bjones@mozilla.com>2013-06-27 06:33:31 +0200
commit719ada15c6080a14104e5524396304396e8059bf (patch)
treedb85262e2c5d5f07c14ec4360b7e2678ac66b4f1 /template
parentdfb9acfb6b76c7db463454df452c1941bf728766 (diff)
downloadbugzilla-719ada15c6080a14104e5524396304396e8059bf.tar.gz
bugzilla-719ada15c6080a14104e5524396304396e8059bf.tar.xz
Bug 882568: Remove unnecessary text about a bug not being part of last search
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/navigate.html.tmpl16
1 files changed, 3 insertions, 13 deletions
diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl
index 56150bec3..ea9d3ebac 100644
--- a/template/en/default/bug/navigate.html.tmpl
+++ b/template/en/default/bug/navigate.html.tmpl
@@ -45,12 +45,11 @@
'[% bug.component FILTER js %]');
});
</script>
-[% 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>
@@ -84,14 +83,5 @@
&nbsp;&nbsp;<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>
- &nbsp;&nbsp;
- <i><font color="#777777">This [% terms.bug %] is not in your last
- search results.</font></i>
+ </div>
[% END %]
-</div>