X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b7d5131321533374cdcb85542ef4dcb53269863d..d116958f99e146428e96ef383e4d02e4683ae6ed:/wolnelektury/templates/catalogue/fragment_short.html diff --git a/wolnelektury/templates/catalogue/fragment_short.html b/wolnelektury/templates/catalogue/fragment_short.html index aaab2bfd3..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:"," }} - (Zobacz w utworze)

+

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

+{% endcomment %}