{% load i18n %}
| {% block section_toggle %} {% if not widget.disabled %} {% endif %} {% endblock section_toggle %} | {% for action, label in widget.columns %}{% block column_heading %} {% if widget.disabled %}{{ label }}{% else %} {% endif %} {% endblock column_heading %} | {% endfor %}{% block others_heading %} {% if widget.disabled %}{% translate "Others" %}{% else %} {% endif %} {% endblock others_heading %} |
|---|---|---|
| {% block row_heading %} {% if widget.disabled %}{{ row.model }}{% else %} {% endif %} {% endblock row_heading %} | {% for action, option in row.columns %}{% if option %} {% block permission %} {% endblock permission %} {% else %} {% block missing_cell %}{% endblock %} {% endif %} | {% endfor %}{% for option in row.others %} {% block other_permission %} {% endblock other_permission %} {% endfor %} |
{% translate "No permissions available." %}
{% endblock %} {% endfor %}