{% extends 'netbox_nsm/rulebook_cot_object.html' %} {% load i18n object_type %} {% block content %}
{% trans "Matrix" %}
{% if available_types %}
{% if show_obj_type_filter %}
{% else %} {% endif %}
{% endif %}
{% if matrix_axis_limit %}
{% if matrix_axis_limit.src_truncated and matrix_axis_limit.dst_truncated %} {% blocktrans with limit=matrix_axis_limit.limit src_total=matrix_axis_limit.src_total dst_total=matrix_axis_limit.dst_total %} The matrix shows at most {{ limit }} entries per axis. The rules contain {{ src_total }} sources and {{ dst_total }} destinations; only the first {{ limit }} of each are shown. {% endblocktrans %} {% elif matrix_axis_limit.src_truncated %} {% blocktrans with limit=matrix_axis_limit.limit src_total=matrix_axis_limit.src_total %} The matrix shows at most {{ limit }} sources. The rules contain {{ src_total }} sources; only the first {{ limit }} are shown. {% endblocktrans %} {% else %} {% blocktrans with limit=matrix_axis_limit.limit dst_total=matrix_axis_limit.dst_total %} The matrix shows at most {{ limit }} destinations. The rules contain {{ dst_total }} destinations; only the first {{ limit }} are shown. {% endblocktrans %} {% endif %}
{% endif %} {% if matrix_viewport %} {{ matrix_viewport|json_script:"nsm-matrix-data" }}
{% for zone in dst_zones %} {% endfor %}
Destination → ↓ Source
{% trans "Loading matrix…" %}
{% else %}

{% trans "No zones match the current filter." %}

{% endif %}
{% endblock %}