X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4fd0861aa9d51262d5afcdc40ea48e7ce7ec7aaa..8b55084e724338896ce94dd91d67fd4d0c0187e2:/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..99db761 100644
--- a/philo/contrib/sobol/templates/sobol/search/_list.html
+++ b/philo/contrib/sobol/templates/sobol/search/_list.html
@@ -1,21 +1,54 @@
{% with node.view.enable_ajax_api as ajax %}
-{% if ajax %}{% endif %}
+{% if ajax %}
+ {% if not suppress_scripts %}{% endif %}
+
+{% endif %}
+{% if favored_results %}
+
+
+ {% if not ajax %}
+
+ {% for search in searches %}
+ {% for result in search.results %}
+ {% if result.get_actual_url in favored_results %}
+ {{ result }}
+ {% endif %}
+ {% endfor %}
+ {% endfor %}
+ {% if search.get_actual_more_results_url in favored_results %}
+ - More results for {{ search }}
+ {% endif %}
+
+ {% 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 %}