X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..e81500796eb5163e07ac6b02109666747fb0c206:/src/search/templates/newsearch/search.html 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 %}