{% load permissions_widget_tags i18n static %} {% for permission_type in default_permission_types %} {% endfor %} {% if group.id %} {% endif %} {% for row in table %} {% ifchanged row.app %} {% if group.id %} {% endifchanged %} {% ifchanged row.model %} {% for permission_type in default_permission_types %} {% with row.permissions|get_item:permission_type as permission %} {% endwith %} {% endfor %} {% endifchanged %} {% endfor %}
App & Model {{ permission_type|translate|capfirst }} Other Field Permissions
{% else %} {% endif %} {{ row.app|translate|capfirst }}
{{ row.model|capfirst }} {% if permission %} {{ permission_type|translate|capfirst }} {% endif %} {% for permission_type in custom_permission_types %} {% with row.permissions|get_item:permission_type as permission %} {% if permission %}
{{ permission.name|translate|capfirst }}
{% endif %} {% endwith %} {% endfor %}
{% if row.model_class_name and row.model_class_name != 'groupadminsettings' and group.id %} {% endif %}