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 %} {% if form %}
{% include "search_results_subtemplate.html" %} {% include "search_results_subtemplate.html" %}
{% endif %} {% endif %}
{% if query_string %}
{% include "generic_list_subtemplate.html" %} {% include "generic_list_subtemplate.html" %}
{% endif %}
{% if not form and not query_string %}
{% include "generic_list_subtemplate.html" %}
{% endif %}
{% endblock %} {% endblock %}
{% block footer %} {% block footer %}