From 71b79a670cf59a517f9c0bc4f6f11894c2a5d44d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 10 Oct 2024 16:30:11 -0500 Subject: Limit the length of the population description --- uploader/templates/populations/macro-display-population-card.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uploader/templates') diff --git a/uploader/templates/populations/macro-display-population-card.html b/uploader/templates/populations/macro-display-population-card.html index e68f8e3..33272e2 100644 --- a/uploader/templates/populations/macro-display-population-card.html +++ b/uploader/templates/populations/macro-display-population-card.html @@ -24,7 +24,7 @@
{{population.Family}}
Description
-
{{population.Description or "-"}}
+
{{(population.Description or "")[0:500]}}…
-- cgit v1.2.3