X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..e353262951cc8b8d3f1a52b896a825bad743a5a7:/wolnelektury/templates/catalogue/fragment_short.html diff --git a/wolnelektury/templates/catalogue/fragment_short.html b/wolnelektury/templates/catalogue/fragment_short.html index 99ffacef0..9fbe0cb9c 100644 --- a/wolnelektury/templates/catalogue/fragment_short.html +++ b/wolnelektury/templates/catalogue/fragment_short.html @@ -1,21 +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 }}

+

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

+{% endcomment %}