From 2a29e3a7a4711f0ab6ba6b245128c4c080d36600 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Tue, 28 Jul 2020 18:34:14 +0200 Subject: [PATCH] Shorted descriptions output in PlaceList so that it ends after a whole word. --- source/lostplaces/lostplaces_app/templates/placeList.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lostplaces/lostplaces_app/templates/placeList.html b/source/lostplaces/lostplaces_app/templates/placeList.html index 117d845..4e439c5 100644 --- a/source/lostplaces/lostplaces_app/templates/placeList.html +++ b/source/lostplaces/lostplaces_app/templates/placeList.html @@ -14,7 +14,7 @@

{{place.location}}

- {{place.description}} + {{place.description|truncatechars:250|truncatewords:-1}}