|
|
@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="w-full s:w-fit flex flex-col s:flex-row justify-end items-center gap-2">
|
|
|
|
<div class="w-full s:w-fit flex flex-col s:flex-row justify-end items-center gap-2">
|
|
|
|
<button class="w-full s:w-fit px-3 py-2 bg-osiblue border border-osiblue text-white cursor-pointer duration-300 hover:bg-white hover:text-osiblue rounded-md updateTicketStatusButton" data-modal-url="{% url 'edit-ticket-status-modal' %}">
|
|
|
|
<button class="w-full s:w-fit px-3 py-2 bg-osiblue border border-osiblue text-white cursor-pointer duration-300 hover:bg-white hover:text-osiblue rounded-md updateTicketStatusButton" data-modal-url="{% url 'edit-ticket-status-modal' ticket.id %}">
|
|
|
|
Update Status
|
|
|
|
Update Status
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
@ -32,20 +32,20 @@
|
|
|
|
{% if last_ticket_status.status == 'Open' %}
|
|
|
|
{% if last_ticket_status.status == 'Open' %}
|
|
|
|
<div class="flex justify-start items-center gap-1">
|
|
|
|
<div class="flex justify-start items-center gap-1">
|
|
|
|
<div class="w-[16px] h-[16px] rounded-full bg-green-200 shadow-md"></div>
|
|
|
|
<div class="w-[16px] h-[16px] rounded-full bg-green-200 shadow-md"></div>
|
|
|
|
<p class="text-secondosiblue font-light">Opened by {{last_ticket_status.added_by.first_name}} at
|
|
|
|
<p class="text-secondosiblue font-light">Opened by {{last_ticket_status.added_by.first_name}} on
|
|
|
|
{{last_ticket_status.date_added}}</p>
|
|
|
|
{{ last_ticket_status.date_added|date:"d F Y, h:i A" }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% elif last_ticket_status.status == 'Working On' %}
|
|
|
|
{% elif last_ticket_status.status == 'Working On' %}
|
|
|
|
<div class="flex justify-start items-center gap-1">
|
|
|
|
<div class="flex justify-start items-center gap-1">
|
|
|
|
<div class="w-[16px] h-[16px] rounded-full bg-yellow-200 shadow-md"></div>
|
|
|
|
<div class="w-[16px] h-[16px] rounded-full bg-yellow-200 shadow-md"></div>
|
|
|
|
<p class="text-secondosiblue font-light">Updated to 'Working On' by
|
|
|
|
<p class="text-secondosiblue font-light">Updated to 'Working On' by
|
|
|
|
{{last_ticket_status.added_by.first_name}} at {{last_ticket_status.date_added}}</p>
|
|
|
|
{{last_ticket_status.added_by.first_name}} on {{ last_ticket_status.date_added|date:"d F Y, h:i A" }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% elif last_ticket_status.status == 'Closed' %}
|
|
|
|
{% elif last_ticket_status.status == 'Closed' %}
|
|
|
|
<div class="flex justify-start items-center gap-1">
|
|
|
|
<div class="flex justify-start items-center gap-1">
|
|
|
|
<div class="w-[16px] h-[16px] rounded-full bg-red-200 shadow-md"></div>
|
|
|
|
<div class="w-[16px] h-[16px] rounded-full bg-red-200 shadow-md"></div>
|
|
|
|
<p class="text-secondosiblue font-light">Closed by {{last_ticket_status.added_by.first_name}} at
|
|
|
|
<p class="text-secondosiblue font-light">Closed by {{last_ticket_status.added_by.first_name}} on
|
|
|
|
{{last_ticket_status.date_added}}</p>
|
|
|
|
{{ last_ticket_status.date_added|date:"d F Y, h:i A" }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|