1 {% extends "2022/base.html" %}
6 <div class="l-section">
7 <div class="l-author__header">
8 <h1><span>Wynik wyszukiwania dla:</span> {{ query }}</h1>
12 <form class="c-form j-form-auto">
13 <div class="c-form__inline-radio">
14 format: {{ filters.format }}
16 <div class="c-form__controls-row">
17 <label class="c-form__control">
21 <label class="c-form__control">
25 <label class="c-form__control">
30 <div class="c-form__inline-radio">
32 {{ filters.category }}
35 <button type="submit" class="c-form__hidden-submit">wyślij</button>
38 {% if results.author %}
39 <div class="l-container">
40 <h2 class="header">Autorzy</h2>
41 <ul class="c-search-result c-search-result-author">
42 {% for tag in results.author %}
44 <a href="{{ tag.get_absolute_url }}">
47 <img src="{{ tag.photo.url }}">
58 {% if results.theme %}
59 <div class="l-container">
60 <h2 class="header">Motywy</h2>
61 <ul class="c-search-result">
62 {% for tag in results.theme %}
64 <a href="{{ tag.get_absolute_url }}">
67 <img src="{{ tag.photo.url }}">
79 <div class="l-container">
80 <h2 class="header">Książki</h2>
82 <div class="l-section l-section--col">
83 <div class="l-books__grid">
84 {% for book in results.book %}
85 {% include 'catalogue/2022/book_box.html' %}
92 <div class="l-container">
93 <h2 class="header">Obrazy</h2>
95 <div class="l-section l-section--col">
96 <div class="l-books__grid">
97 {% for book in results.art %}
98 {% include 'catalogue/2022/book_box.html' %}
104 {% if results.fragment or results.snippet %}
105 <div class="l-container">
106 <h2 class="header">W treści</h2>
107 {% for f in results.snippet %}
108 <div class="c-search-result-fragment">
109 {% for author in f.book.authors %}
110 <a class="c-search-result-fragment-author" href="{{ author.get_absolute_url }}">{{ author }}</a>
112 <a class="c-search-result-fragment-title" href="{{ f.book.get_absolute_url }}">
115 <a class="c-search-result-fragment-text" href='{% url 'book_text' f.book.slug %}#sec{{ f.sec }}'>
116 {{ f.headline|safe }}
123 {% if results.collection %}
124 <div class="l-container">
125 <h2 class="header">Kolekcje</h2>
126 <div class="c-search-result-collection">
127 {% for collection in results.collection %}
128 {% include 'catalogue/2022/collection_box.html' %}
129 {% include 'catalogue/2022/collection_box.html' %}
136 <div class="l-container">
137 <div class="c-search-result-pd">
138 <h2>Domena publiczna?</h2>
140 Dzieła tych autorów przejdą do zasobów domeny publicznej i będą mogły
141 być publikowane bez żadnych ograniczeń.
142 Dowiedz się, dlaczego biblioteki internetowe nie mogą udostępniać dzieł tego autora.
145 {% for tag in pd_authors %}
146 <div><a href="{{ tag.get_absolute_url }}">
147 <strong>{{ tag }}</strong>
148 Dzieła tego autora będą mogły być publikowane bez ograniczeń w roku <em>{{ tag.goes_to_pd }}</em>.