{% extends 'base.html' %} {% load mytags %} {% block content %} {% include 'nav_cat_bar.html' %}
{% if error %}
{{ error }}
{% endif %} {% if msg %}
{{ msg }}
{% endif %}
所有规则
{% for rule in rules %} {% endfor %}
规则名称 用户 用户组 资产 资产组 角色 操作
{{ rule.name }} {{ rule | rule_member_count:"user" }} {{ rule | rule_member_count:"user_group" }} {{ rule | rule_member_count:"asset" }} {{ rule | rule_member_count:"asset_group" }} {{ rule | rule_member_count:"role" }} 详情 编辑
Showing {{ users.start_index }} to {{ users.end_index }} of {{ p.count }} entries
{% include 'paginator.html' %}
{% endblock %}