X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..8952b9530d943655e552ea660c47e850123c5105:/src/search/templates/newsearch/search.html?q=%7B%7Bdid_you_mean%7Curlencode%7D%7D diff --git a/src/search/templates/newsearch/search.html b/src/search/templates/newsearch/search.html index 0b0fad49d..881e85136 100644 --- a/src/search/templates/newsearch/search.html +++ b/src/search/templates/newsearch/search.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base/base.html" %} {% load i18n %} {% load catalogue_tags %} @@ -9,50 +9,51 @@ {% block bodyid %}newsearch{% endblock %} {% block body %} -

Search

-
-

- - -
- fuzzy. -

-
- {% if did_you_mean %} +

Search

+
+

+ + +
+ fuzzy. +

+
+ {% if did_you_mean %} Czy miałeś na mysli {{did_you_mean}}? - {% endif %} + {% 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. +
    3. +

      + {{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 %} +
      +
    4. {% empty %} -

      No results.

      +

      No results.

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