X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4fd0861aa9d51262d5afcdc40ea48e7ce7ec7aaa..4c18b61fad6628589a6bd1a64895868ce3409c94:/philo/contrib/sobol/templates/sobol/search/_list.html
diff --git a/philo/contrib/sobol/templates/sobol/search/_list.html b/philo/contrib/sobol/templates/sobol/search/_list.html
index f78d861..8fed939 100644
--- a/philo/contrib/sobol/templates/sobol/search/_list.html
+++ b/philo/contrib/sobol/templates/sobol/search/_list.html
@@ -1,21 +1,25 @@
{% with node.view.enable_ajax_api as ajax %}
-{% if ajax %}{% endif %}
+{% if ajax and not suppress_scripts %}{% endif %}
{% for search in searches %}
-
+
{% if not ajax %}
-
- {% for result in search.results %}
- {{ result }}
- {% endfor %}
-
- {% if search.has_more_results and search.more_results_url %}
-
+ {% if search.results %}
+
+ {% for result in search.results %}
+ {{ result }}
+ {% endfor %}
+
+ {% if search.has_more_results and search.more_results_url %}
+
+ {% endif %}
+ {% else %}
+ No results found.
{% endif %}
{% endif %}