X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3ac9cb26acd9b7c5ba421dac123ba8f75b782bd2..d116958f99e146428e96ef383e4d02e4683ae6ed:/wolnelektury/templates/catalogue/fragment_short.html diff --git a/wolnelektury/templates/catalogue/fragment_short.html b/wolnelektury/templates/catalogue/fragment_short.html index 24eeef336..9fbe0cb9c 100644 --- a/wolnelektury/templates/catalogue/fragment_short.html +++ b/wolnelektury/templates/catalogue/fragment_short.html @@ -1,8 +1,36 @@ {% 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 %}
- {#
#} - {# Półki #} - {#
#} {% if fragment.short_text %}
{{ fragment.short_text|safe }} @@ -16,8 +44,9 @@ {% endif %}
-

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

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

+{% endcomment %}