X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/6f1d6a6fe9607eb612d2dc95340d414dda043e92..0e199a41c0f2375dbf555452bbdc46162fff8853:/migdal/templates/search/search.html?page=%7B%7B%20page.previous_page_number%20%7D%7D;q=%7B%7B%20query%20%7D%7D diff --git a/migdal/templates/search/search.html b/migdal/templates/search/search.html new file mode 100644 index 0000000..6d7b9c7 --- /dev/null +++ b/migdal/templates/search/search.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% load url from future %} +{% load i18n %} +{% load migdal_tags %} + + +{% block "body" %} +

{% trans "Search results" %}

+ +{% for result in page.object_list %} +{% entry_short result.object %} +{% empty %} +

{% trans "No results found." %}

+{% endfor %} + +{% if page.has_previous or page.has_next %} +
+ {% if page.has_previous %}{% endif %}{% trans "« Previous" %}{% if page.has_previous %}{% endif %} + | + {% if page.has_next %}{% endif %}{% trans "Next »" %}{% if page.has_next %}{% endif %} +
+{% else %} +{# Show some example queries to run, maybe query syntax, something else? #} +{% endif %} +{% endblock "body" %}