X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/263e2a71c685149e406d7bee1de93b362970a88f..fe3cc2a284f1aa7457b0ec9491203aae100681a6:/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 %}