{% extends "base/layout.html" %} {% block page_actions %} Add Role {% endblock %} {% block content %}
Showing {{ ((pagination.page - 1) * pagination.size) + 1 }} to {{ (pagination.page * pagination.size) if (pagination.page * pagination.size) < pagination.total else pagination.total }} of {{ pagination.total }} roles
{% for role in roles %} {% else %} {% endfor %}
Role Name Description Users Status Type Created Actions
{{ role.name }}
{% if role.is_system %} System Role {% endif %}
{{ role.description or 'No description provided' }}
{{ role_user_counts[role.id] if role_user_counts[role.id] else 0 }} assigned
{% if role.is_active %} Active {% else %} Inactive {% endif %} {% if role.is_system %} System {% else %} Custom {% endif %} {{ role.created_at.strftime('%Y-%m-%d') if role.created_at else '-' }}
{% if not role.is_system %} {% endif %}

No roles found

{% if search %}

Try adjusting your search criteria

{% endif %}
{% if pagination.pages > 1 %} {% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}