{% extends 'ui/panels/_base.html' %} {% load i18n %} {% block panel_content %}
{% trans "Starts from" %}
{% badge route.get_origin_display bg_color=route.get_origin_color %} {% for prefix in route.origin_prefixes.all %}
{{ prefix|linkify }}
{% endfor %}
{% if route_hops or path %}
{% trans "Route" %}{% if path %}: {{ route|linkify }}{% endif %}
{% for hop in route_hops %} {% include 'netbox_access_paths/inc/hop.html' %}{% if not forloop.last %}{% endif %} {% empty %} {% trans "direct, no hops" %} {% endfor %}
{% endif %} {% if path %} {% if path_hops %}
{% trans "Customer side" %}
{% for hop in path_hops %} {% include 'netbox_access_paths/inc/hop.html' %}{% if not forloop.last %}{% endif %} {% endfor %}
{% endif %}
{% trans "Method" %}
{% badge path.get_method_display bg_color=path.get_method_color %}
{% badge path.get_authentication_display bg_color=path.get_authentication_color %}
{% trans "Target" %} · {{ path.tenant|linkify }}
{% include 'netbox_access_paths/inc/target.html' with object=path %}
{% else %} {% endif %}
{% endblock %}