From 25f496998b44cb41bb5f3b6b1f0c11f4e1b7c475 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Fri, 22 Mar 2024 02:55:21 +0100 Subject: [PATCH] canceled and blocked turn the remarks in red --- templates/screen.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/screen.html b/templates/screen.html index 0f6b98c..ad80571 100644 --- a/templates/screen.html +++ b/templates/screen.html @@ -56,10 +56,19 @@ {% else %} {% endif %} - {% if flight[i]["status"] != "Scheduled" %} - {{ flight[i]["status"] }} + {% if flight[i]["cancelled"] %} + + {{ flight[i]["status"] }} + {% elif flight[i]["blocked"] %} + + {{ flight[i]["status"] }} + {% else %} + + {{ flight[i]["status"] }} + {% endif %} {% else %} + {% endif %}