From ee7fbec479b1410b366fe0b61221c001673ab44e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 17 Jan 2023 11:30:21 +0300 Subject: Add link back to index page on abort or errors --- qc_app/templates/parse_results.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/qc_app/templates/parse_results.html b/qc_app/templates/parse_results.html index ec19812..d78bae6 100644 --- a/qc_app/templates/parse_results.html +++ b/qc_app/templates/parse_results.html @@ -12,11 +12,19 @@ {{errors_display(errors, "No errors found in the file", "We found the following errors", True)}} -{%if errors | length == 0 %} +{%if errors | length == 0 and not user_aborted %}
{%endif%} +{%if errors | length > 0 or user_aborted %} +