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

Usuarios del Sistema

{% if current_user.has_permission(9000) %} Nuevo Usuario {% endif %}
{% if users and users|length > 0 %} {% for user in users %} {% endfor %} {% else %} {% endif %}
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 %}