diff --git a/osinaweb/osinacore/templates/chat_templates/partials/visitors.html b/osinaweb/osinacore/templates/chat_templates/partials/visitors.html index b4c00af4..b9c342f2 100644 --- a/osinaweb/osinacore/templates/chat_templates/partials/visitors.html +++ b/osinaweb/osinacore/templates/chat_templates/partials/visitors.html @@ -13,22 +13,15 @@ {% for visitor in visitors %}
-
- {% if not visitor.country == 'Unknown' %} - - {% else %} - - {% endif %} - - {% if visitor.is_online %} -
- {% endif %} -

{{visitor.ip_address}}

- + {% if not visitor.visitorlog_set.all.last.title %} + {{ visitor.visitorlog_set.all.last.url|slice:":26" }}{% if visitor.visitorlog_set.all.last.url|length > 26 %}…{% endif %} + {% else %} + {{ visitor.visitorlog_set.all.last.title|slice:":26" }}{% if visitor.visitorlog_set.all.last.title|length > 26 %}…{% endif %} + {% endif %}