diff options
| author | Frederick Muriuki Muriithi | 2024-10-10 16:30:11 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2024-10-10 16:30:43 -0500 |
| commit | 71b79a670cf59a517f9c0bc4f6f11894c2a5d44d (patch) | |
| tree | 071bc0b77574ae7138665b8a39df981baa59f04d | |
| parent | 40dfa6d36fae873bd8a49e8a0943be64ef4d2196 (diff) | |
| download | gn-uploader-71b79a670cf59a517f9c0bc4f6f11894c2a5d44d.tar.gz | |
Limit the length of the population description
| -rw-r--r-- | uploader/templates/populations/macro-display-population-card.html | 2 |
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]}}…</dd> </dl> </div> </div> |
