From 838049cedefc5209ff9666624b2b24eccb120fb8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 16 Nov 2022 03:09:22 +0300 Subject: ui: Only display the "alert-success" green on completion * To avoid confusion, only display the "alert-success" green on completion of the parsing process. While parsing, if there are no errors, then display the "No errors found so far" message without the green colour. --- qc_app/templates/parse_results.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qc_app/templates/parse_results.html') diff --git a/qc_app/templates/parse_results.html b/qc_app/templates/parse_results.html index 80d6a2d..ec19812 100644 --- a/qc_app/templates/parse_results.html +++ b/qc_app/templates/parse_results.html @@ -10,7 +10,7 @@ Job aborted by the user {%endif%} -{{errors_display(errors, "No errors found in the file", "We found the following errors")}} +{{errors_display(errors, "No errors found in the file", "We found the following errors", True)}} {%if errors | length == 0 %}
-- cgit v1.2.3