X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4fd0861aa9d51262d5afcdc40ea48e7ce7ec7aaa..cfd7c6155ad83f9ead1f18ff6109cf1dba5835fe:/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..a3d8108 100644
--- a/philo/contrib/sobol/templates/sobol/search/_list.html
+++ b/philo/contrib/sobol/templates/sobol/search/_list.html
@@ -1,21 +1,33 @@
{% with node.view.enable_ajax_api as ajax %}
-{% if ajax %}{% endif %}
+{% if ajax %}
+ {% if not suppress_scripts %}{% endif %}
+
+{% 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 %}