X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/fa8909f95f314f1bea5f52b81381304c68a75417..a84463e418ebe210f8c0ae2f466ad268d31e4c36:/migdal/templates/search/search.html?ds=inline diff --git a/migdal/templates/search/search.html b/migdal/templates/search/search.html index 1c561a4..31be738 100644 --- a/migdal/templates/search/search.html +++ b/migdal/templates/search/search.html @@ -2,7 +2,7 @@ {% load url from future %} {% load i18n %} {% load migdal_tags %} -{% load events_tags %} +{#% load events_tags %#} {% block "body" %} @@ -11,20 +11,22 @@ {% for result in page.object_list %} {% if result.model_name == "entry" %} {% entry_short result.object %} - {% elif result.model_name == "event" %} - {% event_short result.object %} + {#% elif result.model_name == "event" %#} + {#% event_short result.object %#} {% endif %} {% empty %}
{% trans "No results found." %}
+{# Show some example queries to run, maybe query syntax, something else? #} {% endfor %} {% if page.has_previous or page.has_next %} -+ {% if page.has_previous %} + {% trans "previous" %} + {% endif %} + {% if page.has_next %} + {% trans "next" %} + {% endif %} {% endif %} + {% endblock "body" %}