{% macro renderRestrictionsView(scopeEntities, scopes) %} {% import _self as self %} {% if scopes is empty or oro_scope_is_empty(scopeEntities, scopes) %} {{ 'N/A'|trans }} {% else %} {% set gridHtml = self.renderRestrictionsViewGrid(scopeEntities, scopes) %} {{ gridHtml }} {% endif %} {% endmacro %} {% macro renderRestrictionsViewGrid(scopeEntities, scopes, extraData = []) %}