{% extends 'generic/object.html' %} {% load i18n object_type %} {% block head %} {{ block.super }} {% include "netbox_nsm/inc/rulebook_page_head.html" %} {% endblock head %} {% block breadcrumbs %} {% include "netbox_nsm/inc/rulebook_breadcrumbs.html" with active_tab=matrix_tab_label|default:_("Matrix") %} {% endblock breadcrumbs %} {% block content %}
{% trans "Matrix" %}
{% if available_types %}
{% if available_types|length > 1 %}
{% 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 %} Die Matrix zeigt höchstens {{ limit }} Einträge pro Achse. In den Regeln sind {{ src_total }} Quellen und {{ dst_total }} Ziele vorhanden; es werden jeweils die ersten {{ limit }} angezeigt. {% endblocktrans %} {% elif matrix_axis_limit.src_truncated %} {% blocktrans with limit=matrix_axis_limit.limit src_total=matrix_axis_limit.src_total %} Die Matrix zeigt höchstens {{ limit }} Quellen. In den Regeln sind {{ src_total }} Quellen vorhanden; es werden die ersten {{ limit }} angezeigt. {% endblocktrans %} {% else %} {% blocktrans with limit=matrix_axis_limit.limit dst_total=matrix_axis_limit.dst_total %} Die Matrix zeigt höchstens {{ limit }} Ziele. In den Regeln sind {{ dst_total }} Ziele vorhanden; es werden die ersten {{ limit }} angezeigt. {% endblocktrans %} {% endif %}
{% endif %} {% if matrix_rows %}
{% for zone in dst_zones %} {% endfor %} {% for row in matrix_rows %} {% for cell in row.cells %} {% endfor %} {% endfor %}
Destination → ↓ Source
{{ zone_label_display|dict_get:zone.pk }}
{{ zone_label_display|dict_get:row.source_zone.pk }} {% if cell.fwd.count == 0 %} + {% elif cell.fwd.count == 1 %} {{ cell.fwd.label }} {% else %} {{ cell.fwd.count }} {% endif %}
{% else %}

No zones match the current filter.

{% endif %}
{% endblock %}