Updated the search template to only show results when there is atleast a query string present

This commit is contained in:
Roberto Rosario
2011-05-12 04:04:42 -04:00
parent cef5bbfc08
commit fb632d269f

View File

@@ -6,8 +6,12 @@
{% if form %}
{% include "search_results_subtemplate.html" %}
{% endif %}
{% include "generic_list_subtemplate.html" %}
{% if query_string %}
{% include "generic_list_subtemplate.html" %}
{% endif %}
{% if not form and not query_string %}
{% include "generic_list_subtemplate.html" %}
{% endif %}
{% endblock %}
{% block footer %}