X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c13fb6245a966d5890b11e7e0d8ccb6692cfacd..642e83337054cbef44f9ee3335dcf7f50224dd9e:/wolnelektury/templates/catalogue/fragment_short.html diff --git a/wolnelektury/templates/catalogue/fragment_short.html b/wolnelektury/templates/catalogue/fragment_short.html index ccca721de..9fbe0cb9c 100644 --- a/wolnelektury/templates/catalogue/fragment_short.html +++ b/wolnelektury/templates/catalogue/fragment_short.html @@ -1,4 +1,35 @@ {% load i18n %} + +
+ {% if fragment.short_text %} +
+
+ + {{ fragment.short_text|safe }} + +
+ ↓ {% trans "Expand fragment" %} ↓ +
+ {% endif %} +
+
+ + {{ fragment.text|safe }} + +
+ {% if fragment.short_text %} + ↑ {% trans "Hide fragment" %} ↑ + {% endif %} +
+

{{ fragment.book.pretty_title }}

+
+ + + + + +{% comment %} +{% load catalogue_tags %}
{% if fragment.short_text %}
@@ -13,8 +44,9 @@ {% endif %}
-

{{ book.title }}, {{ book_authors|join:"," }} +

{% book_title_html fragment.book %} ({% trans "See in a book" %})

+{% endcomment %}