From 72e297afd3ac67ef601e81d515922fb8754c0321 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Dec 2024 16:19:23 -0600 Subject: UI: Clip text that is too long. --- uploader/templates/phenotypes/job-status.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'uploader/templates/phenotypes') diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index c810c6f..6b3431e 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -70,7 +70,13 @@ {{error.cellvalue}} {%endif%} - {{error.message}} + + {%if error.message | length > 250 %} + {{error.message[0:249]}}… + {%else%} + {{error.message}} + {%endif%} + {%endfor%} -- cgit v1.2.3