1 {% extends '2022/base.html' %}
2 {% load catalogue_tags %}
4 {% load pagination_tags %}
6 {% load choose_cites from social_tags %}
9 {% block breadcrumbs %}
10 <a href="/katalog/"><span>Katalog</span></a>
12 <a href="{{ main_tag.get_absolute_catalogue_url }}"><span>{{ main_tag.get_category_display|title }}</span></a>
17 <div class="l-section">
18 <div class="l-author__header">
19 {% if main_tag.photo %}
20 {% thumbnail main_tag.photo '40x40' crop='center' as th %}
22 <img src="{{ th.url }}" alt="{{ main_tag.name }}">
36 <div class="l-section">
37 <div class="l-books__header">
38 <div class="l-books__input">
39 <i class="icon icon-filter"></i>
40 <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="book-list" data-filters="with-filter" value="{{ request.GET.search }}">
41 <div class="filter-container">
43 {% if tag is not main_tag %}
44 <span class="filter filter-category-{{ tag.category }}">
45 <a href="{% catalogue_url view.list_type tag %}">{{ tag }}</a>
46 <a href="{% catalogue_url view.list_type tags -tag %}">✖</a>
53 {% if view.get_orderings %}
54 <div class="l-books__sorting">
57 {% for ordering in view.get_orderings %}
59 {% if not ordering.default %}
60 data-order="{{ ordering.slug }}"
62 {% if ordering.active %}
65 >{{ ordering.name }}</button>
72 <div class="l-author with-filter">
74 <h2>{% nice_title_from_tags tags suggested_tags_by_category %}</h2>
75 {% if suggested_tags %}
76 <div class="filter-container">
77 {% for tag in suggested_tags %}
78 <span class="filter filter-category-{{ tag.category }}">
79 <a href="{% catalogue_url view.list_type tags tag %}">{{ tag }}</a>
87 {% autopaginate object_list view.page_size %}
89 <div class="l-section l-section--col">
90 <div class="l-books__grid" id="book-list">
91 {% for book in object_list %}
92 {% include "catalogue/2022/book_box.html" %}
98 {% paginate using '2022/paginate.html' %}
102 <section class="l-section">
103 <div class="l-author">
104 {% with tag=main_tag %}
105 {% include 'catalogue/2022/author_box.html' %}
107 {% choose_cites 3 author=main_tag as cites %}
110 <div class="l-author__quotes">
111 <div class="l-author__quotes__slider">
113 {% for fragment in cites %}
114 <div class="l-author__quotes__slider__item">
115 {% include "catalogue/2022/fragment_slider_box.html" %}