diff options
author | Frederick Muriuki Muriithi | 2024-12-03 16:19:23 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-03 16:19:23 -0600 |
commit | 72e297afd3ac67ef601e81d515922fb8754c0321 (patch) | |
tree | 4dad06c5d75059a1a4050d2f941bbee41bdb3dc7 /uploader/templates/phenotypes | |
parent | cb4f7e86a1bf89ff05fa041597523d5c9914027d (diff) | |
download | gn-uploader-72e297afd3ac67ef601e81d515922fb8754c0321.tar.gz |
UI: Clip text that is too long.
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r-- | uploader/templates/phenotypes/job-status.html | 8 |
1 files changed, 7 insertions, 1 deletions
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%} </td> - <td>{{error.message}}</td> + <td> + {%if error.message | length > 250 %} + {{error.message[0:249]}}… + {%else%} + {{error.message}} + {%endif%} + </td> </tr> {%endfor%} </tbody> |