aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-12-03 15:07:17 -0600
committerFrederick Muriuki Muriithi2024-12-03 15:11:28 -0600
commit83e61557d34146454233c5c31eb6916323268f7e (patch)
treefad2004cf0600ec682c6df0a9531d4936b0a0e59 /uploader
parentfdad7e1f8ee6ab86b24d79f1ec0911b432b1d416 (diff)
downloadgn-uploader-83e61557d34146454233c5c31eb6916323268f7e.tar.gz
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).
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/phenotypes/job-status.html8
1 files changed, 7 insertions, 1 deletions
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 @@
<th>File</th>
<th>Row</th>
<th>Column</th>
+ <th>Value</th>
<th>Message</th>
</thead>
@@ -63,8 +64,13 @@
<td>{{error.filename}}</td>
<td>{{error.rowtitle}}</td>
<td>{{error.coltitle}}</td>
- <td>{{error.message}}</td>
+ <td>{%if error.cellvalue | length > 25%}
+ {{error.cellvalue[0:24]}}&hellip;
+ {%else%}
+ {{error.cellvalue}}
+ {%endif%}
</td>
+ <td>{{error.message}}</td>
</tr>
{%endfor%}
</tbody>