aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/phenotypes/job-status.html17
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>