X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/847fe6bcff6dc95e389656d78ba02372b5686b86..07e5d48b0655d447b2dec96ad6e5e81e72ec4837:/wolnelektury/templates/catalogue/book_detail.html
diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html
index 27f2e7287..c03614cea 100644
--- a/wolnelektury/templates/catalogue/book_detail.html
+++ b/wolnelektury/templates/catalogue/book_detail.html
@@ -13,8 +13,20 @@
+
+ {% if categories.author %}
+ {% for tag in categories.author %}
+
{{ tag }}{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+ »
+ {% endif %}
+ {% for parent in parents %}
+
{{ parent }} »
+ {% endfor %}
+
+
{% if extra_info.license %}
-
{% trans "Work is licensed under " %}{{ extra_info.license_description }}.
+
{% trans "Work is licensed under " %} {{ extra_info.license_description }}.
{% endif %}
{% trans "Based on" %}: {{ extra_info.source_name }}
{% if book.has_description %}
@@ -83,27 +95,28 @@
{% trans "Details" %}
-
+
{% trans "Author" %}:
{% for tag in categories.author %}
- {{ tag }}
+ {{ tag }}{% if not forloop.last %}, {% endif %}
{% endfor %}
-
{% trans "Epoch" %}:
{% for tag in categories.epoch %}
- {{ tag }}
+ {{ tag }}{% if not forloop.last %}, {% endif %}
{% endfor %}
-
{% trans "Kind" %}:
{% for tag in categories.kind %}
- {{ tag }}
+ {{ tag }}{% if not forloop.last %}, {% endif %}
{% endfor %}
-
{% trans "Genre" %}:
{% for tag in categories.genre %}
- {{ tag }}
+ {{ tag }}{% if not forloop.last %}, {% endif %}
{% endfor %}