Cutting stuff out.
[wolnelektury.git] / src / catalogue / templates / catalogue / 2022 / theme_detail.html
1 {% extends '2022/base.html' %}
2 {% load catalogue_tags %}
3 {% load pagination_tags %}
4
5 {% block global-content %}
6   <div class="l-container">
7     <div class="l-breadcrumb">
8       <a href="/"><span>Strona główna</span></a>
9       <a href="/katalog/"><span>Katalog</span></a>
10       <a href="/katalog/motyw/"><span>Motyw</span></a>
11       <span>{{ main_tag.name }}</span>
12     </div>
13   </div>
14
15   <main class="l-main">
16
17     <div class="l-section">
18       <div class="l-author__header">
19         <h1><span>Motyw:</span> {{ main_tag.name }}</h1>
20       </div>
21     </div>
22
23
24     <div class="l-section">
25       <div class="l-books__header">
26         <div class="l-books__input">
27           <i class="icon icon-filter"></i>
28           <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="book-list" data-filters="with-filter">
29           <div class="filter-container">
30             {% for tag in tags %}
31               {% if tag is not main_tag %}
32                 <span class="filter filter-category-{{ tag.category }}">
33                   <a href="{% catalogue_url list_type tag %}">{{ tag }}</a>
34                   <a href="{% catalogue_url list_type tags -tag %}">✖</a>
35                 </span>
36               {% endif %}
37             {% endfor %}
38           </div>
39
40         </div>
41       </div>
42     </div>
43     <div class="with-filter">
44       <div class="row">
45         <h2>{% nice_title_from_tags tags categories %}</h2>
46         {% if suggest %}
47           <div class="filter-container">
48             {% for tag in suggest %}
49               <span class="filter filter-category-{{ tag.category }}">
50                 <a href="{% catalogue_url list_type tags tag %}">{{ tag }}</a>
51               </span>
52             {% endfor %}
53           </div>
54         {% endif %}
55       </div>
56     </div>
57
58     {% autopaginate object_list 10 %}
59
60     <div class="l-section l-section--col">
61       <div class="l-theme">
62         <div class="l-theme__col">
63           <div class="l-books__col">
64
65             {% for fragment in object_list %}
66               {% include 'catalogue/2022/fragment_box.html' %}
67             {% endfor %}
68             {% paginate using '2022/paginate.html' %}
69           </div>
70         </div>
71         <div class="l-theme__col">
72           <div class="l-theme__info">
73             <h3>Motyw: {{ main_tag.name }}</h3>
74             {{ main_tag.description|safe }}
75             <!--
76                  <h3>Motyw w sztuce <i class="icon icon-arrow-left"></i> <i class="icon icon-arrow-right"></i></h3>
77                  <div class="l-theme__info__slider">
78                  <img src="images/motyw.jpg" alt="">
79                  <img src="images/motyw.jpg" alt="">
80                  <img src="images/motyw.jpg" alt="">
81                  </div>
82             -->
83           </div>
84         </div>
85       </div>
86     </div>
87   </main>
88
89 {% endblock %}