From a83d83309b360a230b9458496e8bd9df6883af05 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 1 Jun 2021 15:10:17 +0200 Subject: [PATCH] fix --- src/catalogue/templates/catalogue/collection_box.html | 4 ++-- src/wolnelektury/static/scss/main/catalogue.scss | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/catalogue/templates/catalogue/collection_box.html b/src/catalogue/templates/catalogue/collection_box.html index 214db8be9..651473591 100644 --- a/src/catalogue/templates/catalogue/collection_box.html +++ b/src/catalogue/templates/catalogue/collection_box.html @@ -2,11 +2,11 @@ {% load i18n %}

{% trans "Collection" %}: {{ collection }}

-

+

{% if collection.description %} {{ collection.description|safe|truncatewords_html:40 }} {% endif %} -

+