- {% if actions %}
- |
-
- |
- {% endif %}
- {% if can_show or can_edit or can_delete %}
-
- {{ lib.btn_crud(can_show, can_edit, can_delete, pk, modelview_name, filters) }}
- |
- {% endif %}
- {% for value in include_columns %}
-
- {% if value == "roles" and item["filter_type"] == "Base" and not item[value] %}
- All
- {% elif value == "roles" and item["filter_type"] == 'Base' %}
- Not {{ item[value] }}
- {% elif value == "roles" and item["filter_type"] == 'Regular' and not item[value] %}
- None
- {% elif value == "group_key" and item[value] == None %}
- {% else %}
- {{ item[value] }}
- {% endif %}
- |
- {% endfor %}
-
- {% endfor %}
- {% endblock %}
-
- {% block end_content scoped %}
-