{% extends 'generic/object.html' %} {% load i18n %} {% block content %}

{% trans "Through this" %} {{ object|meta:"verbose_name" }} {{ through_count }}

{% if through_by_tenant %}
{% if routes %} {% trans "It is a hop on the route" %}{{ routes|length|pluralize }} {% for route in routes %}{{ route|linkify }}{% if not forloop.last %}, {% endif %}{% endfor %}. {% endif %} {% blocktrans count customers=through_by_tenant|length %}If it is compromised or down, these paths into {{ customers }} customer are affected.{% plural %}If it is compromised or down, these paths into {{ customers }} customers are affected.{% endblocktrans %}
{% for tenant, paths in through_by_tenant %} {% for path in paths %}{% include 'netbox_access_paths/inc/path_row.html' %}{% endfor %} {% endfor %}
{% trans "Path" %}{% trans "Target" %}{% trans "Method" %}{% trans "Who" %}{% trans "Status" %}
{{ tenant|linkify }} {{ paths|length }}
{% else %}
{% trans "No access path runs through it." %}
{% endif %}

{% trans "Into this" %} {{ object|meta:"verbose_name" }} {{ into|length }}

{% if into %}
{% trans "Paths whose target is this object, one of its application services or one of its IP addresses." %}
{% for path in into %}{% include 'netbox_access_paths/inc/path_row.html' with show_tenant=True %}{% endfor %}
{% trans "Path" %}{% trans "Customer" %}{% trans "Target" %}{% trans "Method" %}{% trans "Who" %}{% trans "Status" %}
{% else %}
{% trans "No access path leads into it." %}
{% endif %}
{% endblock %}