aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-10 16:30:11 -0500
committerFrederick Muriuki Muriithi2024-10-10 16:30:43 -0500
commit71b79a670cf59a517f9c0bc4f6f11894c2a5d44d (patch)
tree071bc0b77574ae7138665b8a39df981baa59f04d /uploader
parent40dfa6d36fae873bd8a49e8a0943be64ef4d2196 (diff)
downloadgn-uploader-71b79a670cf59a517f9c0bc4f6f11894c2a5d44d.tar.gz
Limit the length of the population description
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/populations/macro-display-population-card.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<dd>{{population.Family}}</dd>
<dt>Description</dt>
- <dd>{{population.Description or "-"}}</dd>
+ <dd>{{(population.Description or "")[0:500]}}&hellip;</dd>
</dl>
</div>
</div>