diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index bd98370d..e2e8c161 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/templates/details_templates/partials/recently-online.html b/osinaweb/osinacore/templates/details_templates/partials/recently-online.html index f66b9019..a2cac59c 100644 --- a/osinaweb/osinacore/templates/details_templates/partials/recently-online.html +++ b/osinaweb/osinacore/templates/details_templates/partials/recently-online.html @@ -27,9 +27,9 @@
{{staff_connection.user.first_name}} {{staff_connection.user.last_name}}
{% if staff_connection.online %} -Online
+Online
{% else %} -{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}
+{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}
{% endif %} @@ -57,9 +57,9 @@{{recent_logged_in_customer.first_name}} {{recent_logged_in_customer.last_name}}
{% if staff_connection.online %} -Online
+Online
{% else %} -{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}
+{% if staff_connection.user.staffprofile %} {{staff_connection.user.staffprofile.get_last_seen}} {% else %} {{staff_connection.user.customerprofile.get_last_seen}} {% endif %}
{% endif %}