X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8f51cea59b3cc79f091627e08b3b9f4f24f3f232..a3b153ea6e30da275edf3e34b8d2f8ca1bb436cc:/src/catalogue/templates/catalogue/2022/theme_detail.html diff --git a/src/catalogue/templates/catalogue/2022/theme_detail.html b/src/catalogue/templates/catalogue/2022/theme_detail.html index 5713cecea..df34d17de 100644 --- a/src/catalogue/templates/catalogue/2022/theme_detail.html +++ b/src/catalogue/templates/catalogue/2022/theme_detail.html @@ -1,4 +1,5 @@ {% extends '2022/base.html' %} +{% load catalogue_tags %} {% load pagination_tags %} {% block global-content %} @@ -7,7 +8,7 @@ Strona główna Katalog Motyw - {{ tags.0.name }} + {{ main_tag.name }} @@ -15,28 +16,44 @@
-

Motyw: {{ tags.0.name }}

+

Motyw: {{ main_tag.name }}

- + +
+
+
+ + +
+ {% for tag in tags %} + {% if tag is not main_tag %} + + {{ tag }} + ✖ + + {% endif %} + {% endfor %} +
+ +
+
+
+
+
+

{% nice_title_from_tags tags categories %}

+ {% if suggest %} +
+ {% for tag in suggest %} + + {{ tag }} + + {% endfor %} +
+ {% endif %} +
+
{% autopaginate object_list 10 %} @@ -46,41 +63,15 @@
{% for fragment in object_list %} -
-
- - {% if fragment.book.cover_clean %} - {{ fragment.book.title }} - {% endif %} - -
-
-
- - {% if fragment.book.has_mp3_file %} - - {% endif %} -
-

- {% for author in fragment.book.authors %} - {{ author }}{% if not forloop.last %}, {% endif %} - {% endfor %} -

-

{{ fragment.book.title }}

-
- {{ fragment.short_text|safe }} -
- Czytaj więcej -
-
+ {% include 'catalogue/2022/fragment_box.html' %} {% endfor %} {% paginate using '2022/paginate.html' %}
-

Motyw: {{ tags.0.name }}

- {{ tags.0.description|safe }} +

Motyw: {{ main_tag.name }}

+ {{ main_tag.description|safe }}