{% if app.user.gruppi == null or app.user.gruppi|length == 0 %}{{ 'Operator'|trans }}{% else %}{{ app.user.gruppi|first.nome|trans }}{% endif %}: {% if app.user is not null and app.user.profilo is not null %}{{ app.user.profilo.nome ~ " " ~ app.user.profilo.cognome }}{% endif %}
{{ 'Last login on'|trans }}: {{ lastlogin|localizeddate }} From: {% if lastlogininfo != null %}
{% set geodata = lastlogininfo %}
{% if geodata and geodata.geoplugin_city != '' and geodata.geoplugin_countryName != '' %}
{% if geodata and geodata.geoplugin_region != '' %}
{{ geodata.geoplugin_city ~ ' (' ~ geodata.geoplugin_region ~ ' - ' ~ geodata.geoplugin_countryName ~ ')' }}
{% else %}
{{ geodata.geoplugin_city ~ ' (' ~ geodata.geoplugin_countryName ~ ')' }}
{% endif %}
{% else %}
{{ geodata.geoplugin_city ~ ' (' ~ geodata.geoplugin_region ~ ' - ' ~ geodata.geoplugin_countryName ~ ')' }}
{% endif %}
{% if geodata and geodata.geoplugin_countryCode != '' %}
{% else %}
{% endif %}
{% endif %}
 }})