{% load i18n %} {% if rules_show_selection_column %} {% endif %} {% for col in rules_column_defs %} {% if col.children %} {% for child in col.children %} {% if child.rules_meta %} {% include "netbox_nsm/inc/rulebook_rules_sort_header.html" with meta=child.rules_meta title=child.header_title subtitle=child.header_subtitle label=child.display_label %} {% else %} {% if child.header_subtitle %} {{ child.header_title }} {{ child.header_subtitle }} {% else %} {{ child.display_label }} {% endif %} {% endif %} {% endfor %} {% elif col.colId == "_actions" %} {% elif col.colId and col.rules_meta %} {% if col.rules_column_kind == 'object' %} {% include "netbox_nsm/inc/rulebook_rules_sort_header.html" with meta=col.rules_meta title=col.header_title subtitle=col.header_subtitle label=col.display_label %} {% else %} {% include "netbox_nsm/inc/rulebook_rules_sort_header.html" with meta=col.rules_meta label=col.headerName %} {% endif %} {% endif %} {% endfor %} {% if rules_show_selection_column %} {% endif %} {% for col in rules_flat_columns %} {% if col.sort_field %} {% elif col.kind == "actions" %}
{% if rules_filter_active %} {% endif %}
{% endif %} {% endfor %}