X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a50ddc685551384615e95785eb01d4505412df5e..9c8f0adb8bb6c8b86517798d70c2c8dcd198e721:/migdal/templates/search/search.html diff --git a/migdal/templates/search/search.html b/migdal/templates/search/search.html new file mode 100644 index 0000000..f38a4e6 --- /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 %} +{% 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" %}