From b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 2 Mar 2011 00:43:43 -0800 Subject: Bug 632718: Only return 500 search results unless the user specifically requests to see more. r=dkl, a=mkanat --- template/en/default/list/list.html.tmpl | 36 ++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'template/en/default/list/list.html.tmpl') diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index a669aecb9..15184d06b 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -110,9 +110,7 @@ [%############################################################################%] [% IF bugs.size > 9 %] - - [% bugs.size %] [%+ terms.bugs %] found. - + [% PROCESS num_results %] [% END %] [%############################################################################%] @@ -134,15 +132,7 @@ [%# Succeeding Status Line #%] [%############################################################################%] - - [% IF bugs.size == 0 %] - [% terms.zeroSearchResults %]. - [% ELSIF bugs.size == 1 %] - One [% terms.bug %] found. - [% ELSE %] - [% bugs.size %] [%+ terms.bugs %] found. - [% END %] - +[% PROCESS num_results %] [% IF bugs.size == 0 %]