From 2d952ffa8c9f22b1c2c7930bc4e2673e72e51f5b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 15 Sep 2009 16:52:09 +0000 Subject: [PATCH] =?utf8?q?Bug=20510669:=20Do=20not=20display=20the=20"shar?= =?utf8?q?ed=20searches"=20table=20if=20there=20is=20no=20search=20shared?= =?utf8?q?=20with=20you=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric?= =?utf8?q?=20Buclin=20=20r=3Dpyrzak=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../account/prefs/saved-searches.html.tmpl | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/template/en/default/account/prefs/saved-searches.html.tmpl b/template/en/default/account/prefs/saved-searches.html.tmpl index 280b932ba8..f1286134bc 100644 --- a/template/en/default/account/prefs/saved-searches.html.tmpl +++ b/template/en/default/account/prefs/saved-searches.html.tmpl @@ -155,9 +155,9 @@ [% END %] -

You may use these searches saved and shared by others:

+[% IF user.queries_available.size %] +

You may use these searches saved and shared by others:

-
- [% found_shared_query = 0 %] [% FOREACH q = user.queries_available %] - [% found_shared_query = 1 %] @@ -205,12 +203,7 @@ [% END %] - [% IF !found_shared_query %] - - - - [% END %]
@@ -180,9 +180,7 @@ Footer
[% q.name FILTER html %] [% q.user.identity FILTER html %]
- <None> -
-
+[% ELSE %] +

No searches are shared with you by other users.

+[% END %] -- 2.47.3