{% for permission in permissions %}
{% for td in permission %}
{% if td %}
{% if td == True %}
| ✔ |
{% else %}
{% if permission.0 in unenforced_permissions %}
{{td}} (unenforced) |
{% else %}
{{td}} |
{% endif %}
{% endif %}
{% else %}
{% if permission.0 in unenforced_permissions %}
|
{% else %}
|
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}