{% extends "base.html" %} {% block title %}إدارة المستخدمين{% endblock %} {% block page_title %}إدارة المستخدمين{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

إدارة المستخدمين

{% for user in users %}
{{ user.username }}
انضم في: {{ user.created_at.strftime('%Y/%m/%d') }}
{% if user.is_super_admin %} مدير عام {% endif %}
الصلاحيات
{% if user.is_super_admin %} جميع الصلاحيات {% else %} {% set permissions = user.get_permissions() %} الصفحة الرئيسية الشحنات التتبع التقارير المصروفات {% endif %}
{% if not user.is_super_admin %} {% endif %}
{% endfor %}
{% endblock %}