From 83e61557d34146454233c5c31eb6916323268f7e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Dec 2024 15:07:17 -0600 Subject: Display cell value Display the cell value to enable the user compare the error message to the actual value, in order to figure out how to fix the error(s). --- uploader/templates/phenotypes/job-status.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index 8ba3edf..c810c6f 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -54,6 +54,7 @@ File Row Column + Value Message @@ -63,8 +64,13 @@ {{error.filename}} {{error.rowtitle}} {{error.coltitle}} - {{error.message}} + {%if error.cellvalue | length > 25%} + {{error.cellvalue[0:24]}}… + {%else%} + {{error.cellvalue}} + {%endif%} + {{error.message}} {%endfor%} -- cgit v1.2.3