X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82c3054bcdeb000aa9782da80d644070797b5cbe..ae60b2a3949e96357477cc04f90fd0873cee8a92:/apps/search/templates/newsearch/search.html diff --git a/apps/search/templates/newsearch/search.html b/apps/search/templates/newsearch/search.html deleted file mode 100644 index 0b0fad49d..000000000 --- a/apps/search/templates/newsearch/search.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% load catalogue_tags %} - -{% block title %}Search{% endblock %} - -{% block metadescription %}{% endblock %} - -{% block bodyid %}newsearch{% endblock %} - -{% block body %} -

Search

-
-

- - -
- fuzzy. -

-
- {% if did_you_mean %} - Czy miałeś na mysli {{did_you_mean}}? - {% endif %} - - -
-
    - {% for result in results %} -
  1. -

    {{result.book.pretty_title}} (id: {{result.book_id}}, score: {{result.score}})

    -
      - {% for snip in hit.snippets %} -
    • - {{snip|safe}}
      -
    • - {% endfor %} - - {% for part in result.parts %} - {% if part.header %} -
    • W {{part.header}} nr {{part.position}}
    • - {% else %} - {% if part.fragment %} -
    • -
      Tagi/Motywy: {% for tag in part.fragment.tags %}{{tag.name}} {% endfor %}
      - {{part.fragment.short_html|safe}} -
    • - {% endif %} - {% endif %} - {% endfor %} -
    -
  2. - {% empty %} -

    No results.

    - {% endfor %} -
-
- -{% endblock %}