{% load i18n wagtailusers_tags wagtailadmin_tags %}
{% if ordering == "name" %} {% trans "Name" %} {% else %} {% trans "Name" %} {% endif %} | {% if ordering == "username" %} {% trans "Username" %} {% else %} {% trans "Username" %} {% endif %} | {% trans "Level" %} | {% trans "Status" %} | {% trans "Last Login" %} |
---|---|---|---|---|
|
{{ user.get_username }} | {% if user.is_superuser %}{% trans "Admin" %}{% endif %} | {% if user.is_active %}{% trans "Active" %}{% else %}{% trans "Inactive" %}{% endif %} |
{% if user.last_login %}{% blocktrans with time_period=user.last_login|timesince %}{{ time_period }} ago{% endblocktrans %}{% endif %} |