X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/37e750096be76eb92aaea16f4d89c7e754ad2a5d..fc46d508443bdc4ad72d047d29a5d453e6799f9d:/wolnelektury/templates/catalogue/fragment_short.html diff --git a/wolnelektury/templates/catalogue/fragment_short.html b/wolnelektury/templates/catalogue/fragment_short.html index 1afdebb53..9fbe0cb9c 100644 --- a/wolnelektury/templates/catalogue/fragment_short.html +++ b/wolnelektury/templates/catalogue/fragment_short.html @@ -1,22 +1,52 @@ +{% 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 }} - ↓ Rozwiń fragment ↓ + ↓ {% trans "Expand fragment" %} ↓
{% endif %}
{{ fragment.text|safe }} {% if fragment.short_text %} - ↑ Zwiń fragment ↑ + ↑ {% trans "Hide fragment" %} ↑ {% endif %}
-

{{ book.title }}, {{ book_authors|join:","|safe }} - (Zobacz w utworze)

+

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

+{% endcomment %}