summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/account/prefs/saved-searches.html.tmpl17
1 files 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 280b932ba..f1286134b 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 %]
</blockquote>
-<p>You may use these searches saved and shared by others:</p>
+[% IF user.queries_available.size %]
+ <p>You may use these searches saved and shared by others:</p>
-<blockquote>
<table border="1" cellpadding="3">
<tr>
<th>
@@ -180,9 +180,7 @@
Footer
</th>
</tr>
- [% found_shared_query = 0 %]
[% FOREACH q = user.queries_available %]
- [% found_shared_query = 1 %]
<tr>
<td>[% q.name FILTER html %]</td>
<td>[% q.user.identity FILTER html %]</td>
@@ -205,12 +203,7 @@
</td>
</tr>
[% END %]
- [% IF !found_shared_query %]
- <tr>
- <td colspan="6" style="text-align: center">
- &lt;None&gt;
- </td>
- </tr>
- [% END %]
</table>
-</blockquote>
+[% ELSE %]
+ <p>No searches are shared with you by other users.</p>
+[% END %]