|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
{% if staff_connection.online %}
|
|
|
|
|
<p class="text-green-700 text-xs">Online</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="text-gray-500 text-xs">{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}</p>
|
|
|
|
|
<p class="text-gray-500 text-xs">{{staff_connection.user.staffprofile.get_last_seen}}</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -54,12 +54,12 @@
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex flex-col">
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{recent_logged_in_customer.first_name}}
|
|
|
|
|
{{recent_logged_in_customer.last_name}}</p>
|
|
|
|
|
{% if staff_connection.online %}
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{customer_connection.user.first_name}}
|
|
|
|
|
{customer_connection.user..last_name}}</p>
|
|
|
|
|
{% if customer_connection.online %}
|
|
|
|
|
<p class="text-green-700 text-xs">Online</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="text-gray-500 text-xs">{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}</p>
|
|
|
|
|
<p class="text-gray-500 text-xs"> {{customer_connection.user.customerprofile.get_last_seen}}</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|