{% extends "base.html" %} {% block title %}Usuarios - ARCH{% endblock %} {% block content %}

Usuarios del Sistema

{% if current_user.has_permission(9000) %} Nuevo Usuario {% endif %}
{% for user_id, user in users.items() %} {% else %} {% endfor %}
Usuario Nombre Email Nivel Estado Acciones
{{ user.username }} {{ user.nombre }} {{ user.email }} {{ user.nivel }} {% if user.estado == 'activo' %} Activo {% else %} Inactivo {% endif %}
{% if user_id != current_user.get_id() and current_user.has_permission(9000) %} {% endif %}
No hay usuarios registrados.
{% if current_user.has_permission(9000) %} {% endif %} {% endblock %}