|
|
|
@ -171,14 +171,14 @@
|
|
|
|
|
{% if task.status == 'Open' %}
|
|
|
|
|
<div
|
|
|
|
|
class="flex justify-center items-center border-r border-b border-gray-200 text-white bg-secondosiblue">
|
|
|
|
|
<p>{{task.start_date|date:"d, m, Y" }}</p>
|
|
|
|
|
<p>{{task.start_date|date:"d-m-Y" }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
{% if task.status == 'Working On' %}
|
|
|
|
|
<div
|
|
|
|
|
class="flex justify-center items-center border-r border-b border-gray-200 text-white bg-yellow-500">
|
|
|
|
|
<p>{{task.start_date|date:"d, m, Y" }}</p>
|
|
|
|
|
<p>{{task.start_date|date:"d-m-Y" }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
@ -186,12 +186,12 @@
|
|
|
|
|
{% if task.end_date < current_date %}
|
|
|
|
|
<div
|
|
|
|
|
class="flex justify-center items-center border-b border-gray-200 text-white bg-red-500 rounded-tr-md">
|
|
|
|
|
<p>{{task.end_date|date:"d, m, Y" }}</p>
|
|
|
|
|
<p>{{task.end_date|date:"d-m-Y" }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div
|
|
|
|
|
class="flex justify-center items-center border-b border-gray-200 text-white bg-secondosiblue rounded-tr-md">
|
|
|
|
|
<p>{{task.end_date|date:"d, m, Y" }}</p>
|
|
|
|
|
<p>{{task.end_date|date:"d-m-Y" }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
@ -200,12 +200,12 @@
|
|
|
|
|
{% if task.end_date < current_date %}
|
|
|
|
|
<div
|
|
|
|
|
class="flex justify-center items-center border-b border-gray-200 text-white bg-red-500 rounded-tr-md">
|
|
|
|
|
<p>{{task.end_date|date:"d, m, Y" }}</p>
|
|
|
|
|
<p>{{task.end_date|date:"d-m-Y" }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div
|
|
|
|
|
class="flex justify-center items-center border-b border-gray-200 text-white bg-yellow-500 rounded-tr-md">
|
|
|
|
|
<p>{{task.end_date|date:"d, m, Y" }}</p>
|
|
|
|
|
<p>{{task.end_date|date:"d-m-Y" }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|