|
|
|
@ -19,17 +19,17 @@
|
|
|
|
|
<div class="w-full flex justify-start items-center gap-2">
|
|
|
|
|
<div class="relative">
|
|
|
|
|
<div class="w-[40px] h-[40px] rounded-full">
|
|
|
|
|
<img src="{{staff_connection.user.staffprofile.image.url}}"
|
|
|
|
|
<img src="{{staff_connection.image}}"
|
|
|
|
|
class="w-full h-full object-cover rounded-full">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex flex-col">
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{staff_connection.user.first_name}}
|
|
|
|
|
{{staff_connection.user.last_name}}</p>
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{staff_connection.first_name}}
|
|
|
|
|
{{staff_connection.last_name}}</p>
|
|
|
|
|
{% if staff_connection.online %}
|
|
|
|
|
<p class="text-green-700 text-xs">Online</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="text-gray-500 text-xs">{{staff_connection.user.staffprofile.get_last_seen}}</p>
|
|
|
|
|
<p class="text-gray-500 text-xs">{{staff_connection.last_seen}}</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -50,16 +50,16 @@
|
|
|
|
|
<div class="w-full flex justify-start items-center gap-2">
|
|
|
|
|
<div
|
|
|
|
|
class="w-[40px] h-[40px] bg-secondosiblue flex justify-center items-center rounded-full text-white">
|
|
|
|
|
<p>{{customer_connection.user.first_name|slice:":1"}}{{customer_connection.user.last_name|slice:":1"}}
|
|
|
|
|
<p>{{customer_connection.first_name|slice:":1"}}{{customer_connection.last_name|slice:":1"}}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex flex-col">
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{customer_connection.user.first_name}}
|
|
|
|
|
{{customer_connection.user.last_name}}</p>
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{customer_connection.first_name}}
|
|
|
|
|
{{customer_connection.last_name}}</p>
|
|
|
|
|
{% if customer_connection.online %}
|
|
|
|
|
<p class="text-green-700 text-xs">Online</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="text-gray-500 text-xs"> {{customer_connection.user.customerprofile.get_last_seen}}</p>
|
|
|
|
|
<p class="text-gray-500 text-xs"> {{customer_connection.last_seen}}</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|