{# Assumes 'page_obj' contains the paginated queryset from the view #}
{% trans "ID" %}
{% trans "Username" %}
{% trans "Full Name" %}
{% trans "Email" %}
{% trans "Status" %}
{% trans "Actions" %}
{% for user in staffs %}
{{ user.pk }}
{{ user.username }}
{{ user.get_full_name|default:user.first_name }}
{{ user.email }}
{% if user.is_active %}
{% trans "Active" %}
{% else %}
{% trans "Inactive" %}
{% endif %}
{# 1. Edit Button (Pencil Icon) #}
{# 2. Change Password Button (Key Icon) #}
{# NOTE: You must define a URL named 'user_password_change' that accepts the user ID #}
{# 3. Delete Button (Trash Icon) #}
{# NOTE: You must define a URL named 'user_delete' that accepts the user ID #}