|
|
|
@ -27,9 +27,9 @@
|
|
|
|
|
<p class="text-secondosiblue text-sm">{{staff_connection.user.first_name}}
|
|
|
|
|
{{staff_connection.user.last_name}}</p>
|
|
|
|
|
{% if staff_connection.online %}
|
|
|
|
|
<p class="text-green-700 text-sm">Online</p>
|
|
|
|
|
<p class="text-green-700 text-xs">Online</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="text-gray-500 text-sm">{% 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">{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -57,9 +57,9 @@
|
|
|
|
|
<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-green-700 text-sm">Online</p>
|
|
|
|
|
<p class="text-green-700 text-xs">Online</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="text-gray-500 text-sm">{% 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">{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|