X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..6a41571eecb01fc448e4d5d6a9d3059523988f18:/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 %}