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/errors_display.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qc_app/templates/errors_display.html') diff --git a/qc_app/templates/errors_display.html b/qc_app/templates/errors_display.html index 39144a9..f1e27a6 100644 --- a/qc_app/templates/errors_display.html +++ b/qc_app/templates/errors_display.html @@ -1,7 +1,7 @@ -{%macro errors_display(errors, no_error_msg, error_message)%} +{%macro errors_display(errors, no_error_msg, error_message, complete)%} {%if errors | length == 0 %} -{{no_error_msg}} +{{no_error_msg}} {%else %}

{{error_message}}

-- cgit v1.2.3