{% load helpers %} {% if perms.netbox_rolesandgroups.view_systemrole %}
Роли в системе {% if system_roles %} (всего: {{ system_roles|length }}) {% endif %}
{% if system_roles %} {% for role in system_roles|slice:":20" %} {% endfor %}
Название Состав данных Описание Технические роли
{{ role.name|slice:":50" }}{% if role.name|length > 50 %}...{% endif %} {{ role.data_composition|slice:":50" }} {% if role.data_composition|length > 50 %}...{% endif %} {{ role.description|slice:":50" }} {% if role.description|length > 50 %}...{% endif %} {{ role.techroles.count }} {% if perms.netbox_rolesandgroups.change_systemrole %} {% endif %} {% if perms.netbox_rolesandgroups.delete_systemrole %} {% endif %}
{% else %}
Нет
{% endif %}
{% if perms.netbox_rolesandgroups.change_systemrole %} {% endif %}
{% endif %}