X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/fa8909f95f314f1bea5f52b81381304c68a75417..d57cb0586003722ceca5c06519d3225686566a78:/migdal/templates/search/search.html diff --git a/migdal/templates/search/search.html b/migdal/templates/search/search.html deleted file mode 100644 index 1c561a4..0000000 --- a/migdal/templates/search/search.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "base.html" %} -{% load url from future %} -{% load i18n %} -{% load migdal_tags %} -{% load events_tags %} - - -{% block "body" %} -

{% trans "Search results" %}

- -{% for result in page.object_list %} - {% if result.model_name == "entry" %} - {% entry_short result.object %} - {% elif result.model_name == "event" %} - {% event_short result.object %} - {% endif %} -{% 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" %}