X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..623676b97cc93293eff63398c7deb45cdec76af9:/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 %}