+ {% if task.status == 'Open' %}
+ class="flex justify-center items-center border-r border-b border-gray-200 bg-blue-500 rounded-tl-md text-xl text-white font-semibold">
{{task.name}}
+ {% endif %}
+
+ {% if task.status == 'Working On' %}
+
+ {% endif %}
+
+ {% if task.status == 'Closed' %}
+
{% if task.status == 'Open' %}
+ class="flex justify-center items-center border-r border-b border-gray-200 text-white bg-blue-500">
{{task.status}}
{% endif %}
{% if task.status == 'Working On' %}
+ class="flex justify-center items-center border-r border-b border-gray-200 text-white bg-yellow-500">
{{task.status}}
{% endif %}
@@ -188,14 +204,14 @@
{% if task.status == 'Open' %}
+ class="flex justify-center items-center border-r border-b border-gray-200 text-white bg-blue-500">
{{task.formatted_start_date}}
{% endif %}
{% if task.status == 'Working On' %}
+ class="flex justify-center items-center border-r border-b border-gray-200 text-white bg-yellow-500">
{{task.formatted_start_date}}
{% endif %}
@@ -208,24 +224,45 @@
{% endif %}
{% if task.status == 'Open' %}
-
-
{{task.formatted_end_date}}
-
+ {% if task.end_date < current_date %}
+
+
{{task.formatted_end_date}}
+
+ {% else %}
+
+
{{task.formatted_end_date}}
+
+ {% endif %}
{% endif %}
{% if task.status == 'Working On' %}
-
-
{{task.formatted_end_date}}
-
+ {% if task.end_date < current_date %}
+
+
{{task.formatted_end_date}}
+
+ {% else %}
+
+
{{task.formatted_end_date}}
+
+ {% endif %}
{% endif %}
{% if task.status == 'Closed' %}
-
-
{{task.formatted_end_date}}
-
+ {% if task.end_date < current_date %}
+
+
{{task.formatted_end_date}}
+
+ {% else %}
+
+
{{task.formatted_end_date}}
+
+ {% endif %}
{% endif %}
@@ -333,7 +370,7 @@
{% if task.status == 'Working On' %}
+ class="w-full flex justify-center items-center text-white text-center bg-yellow-500 rounded-t-md py-5 px-3">
{{task.name}}
{% endif %}
@@ -364,7 +401,7 @@
{% if task.status == 'Working On' %}
+ class="text-white bg-yellow-500 border-r border-gray-200 flex justify-center items-center text-center py-3 text-sm">
{{task.status}}
{% endif %}
@@ -379,7 +416,7 @@
{% if task.status == 'Working On' %}
+ class="text-white bg-yellow-500 border-r border-gray-200 flex justify-center items-center text-center py-3 text-sm">
{{task.start_date}}
{% endif %}
@@ -401,7 +438,7 @@
{% if task.status == 'Working On' %}
+ class="text-white bg-yellow-500 flex justify-center items-center text-center py-3 text-sm">
{{task.end_date}}