{% import "search_macros.html" as search_macros %} {% extends "base.html" %} {% block fullbody %}
{% if hits %}
{#

{{ "{:,}".format(hits.count_found) }}

#}

{{ "{:,}".format(hits.count_found) }}

Hits
in {{ "{:0.2}".format(hits.query_time_ms/1000.0) }}sec
{% endif %}
{{ search_macros.query_option(query.time_options, query.filter_time) }} {{ search_macros.query_option(query.type_options, query.filter_type) }} {{ search_macros.query_option(query.availability_options, query.filter_availability) }} {{ search_macros.query_option(query.sort_options, query.sort_order) }}
{% if search_error %}
Query Error

{{ search_error }}

{% elif hits %} {% if hits.results %} {% for paper in hits.results %} {{ search_macros.fulltext_search_result_row(paper) }} {% endfor %} {% endif %} {% else %} No search submitted? Some message should go here. {% endif %}
{% endblock %}