From a44e152480c9c22ca9b3a89da774317c5590d21b Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 18 Nov 2009 07:04:57 +0000 Subject: Bug 519142: Replace IF/ELSE statements about bug_status/resolution with just a display_value call, and use display_value in more places to translate field values. Patch by Vitaly Fedrushkov r=mkanat, a=mkanat --- template/en/default/search/form.html.tmpl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'template/en/default/search') diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index c52f5dcc5..07ab43c70 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -617,19 +617,11 @@ function doOnSelectProduct(selectmode) { [%# This only applies for Resolution really %] + [% display_value(sel.name, value.name) FILTER html %] [% ELSE %] [% END %] [% END %] -- cgit v1.2.3-24-g4f1b