diff options
author | Frederick Muriuki Muriithi | 2024-12-09 16:12:26 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-09 16:12:26 -0600 |
commit | 544db333dcd6bddd2d664b8fcf0003d9edfa7a68 (patch) | |
tree | cb788d0e59d33308dbf3d579b90c04147550dce1 /uploader/templates/phenotypes/job-status.html | |
parent | 47fdae91413522b8a67247c3f7113f925fad8dc7 (diff) | |
download | gn-uploader-main.tar.gz |
Diffstat (limited to 'uploader/templates/phenotypes/job-status.html')
-rw-r--r-- | uploader/templates/phenotypes/job-status.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index 34325c5..5f13876 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -56,10 +56,19 @@ </tbody> </table> {%endif%} - {%if job.status in ("completed:success", "success")%} - <p><a href="#" - class="not-implemented btn btn-primary" - title="Continue to process data">Continue</a> + {%if job.status in ("completed:success", "success")%} + <p> + {%if errors | length == 0%} + <a href="#" + class="not-implemented btn btn-primary" + title="Continue to process data">Continue</a> + {%else%} + <span class="text-muted" + disabled="disabled" + style="border: solid 2px;border-radius: 5px;padding: 0.3em;"> + Cannot continue due to errors. Please fix the errors first. + </a> + {%endif%} </p> {%endif%} </div> |