1 {% extends 'base.html' %}
3 {% load catalogue_tags %}
5 {% load choose_cites from social_tags %}
8 {% block breadcrumbs %}
9 <a href="/katalog/"><span>{% trans "Katalog" %}</span></a>
11 <a href="{{ main_tag.get_absolute_catalogue_url }}"><span>{{ main_tag.get_category_display|title }}</span></a>
16 <div class="l-section">
17 <div class="l-author__header">
18 {% if main_tag.photo %}
20 <img src="{{ main_tag.photo.url }}" alt="{{ main_tag.name }}">
33 <div class="l-section">
34 <div class="l-books__header">
35 <div class="l-books__input">
36 <i class="icon icon-filter"></i>
37 <input type="text" placeholder="{% trans 'filtry, tytuł' %}" class="quick-filter" data-for="book-list" data-filters="with-filter">
38 <div class="filter-container">
40 {% if tag is not main_tag %}
41 <span class="filter filter-category-{{ tag.category }}">
42 <a href="{% catalogue_url list_type tag %}">{{ tag }}</a>
43 <a href="{% catalogue_url list_type tags -tag %}">✖</a>
50 <div class="l-books__sorting">
51 <span>{% trans "Sortuj:" %}</span>
53 <button data-order="data-pop">{% trans "najpopularniejsze" %}</button>
54 <button class="is-active">{% trans "alfabetycznie" %}</button>
55 <!--button>chronologicznie</button-->
60 <div class="with-filter">
63 <h2>{% nice_title_from_tags tags categories %}</h2>
65 <div class="filter-container">
66 {% for tag in suggest %}
67 <span class="filter filter-category-{{ tag.category }}">
68 <a href="{% catalogue_url list_type tags tag %}">{{ tag }}</a>
76 <div class="l-section l-section--col">
77 <div class="l-books__grid" id="book-list">
78 {% for book in object_list %}
79 {% include "catalogue/book_box.html" %}
85 <section class="l-section">
86 <div class="l-author">
87 {% with tag=main_tag %}
88 {% include 'catalogue/author_box.html' %}
90 {% choose_cites 3 author=main_tag as cites %}
93 <div class="l-author__quotes">
94 <div class="l-author__quotes__slider">
96 {% for fragment in cites %}
97 <div class="l-author__quotes__slider__item">
98 {% include "catalogue/fragment_slider_box.html" %}