{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% load kentik_filters %} {% block content %} {% if kentik_site %}

{% trans "Details" %}

{% if kentik_site.lat != 0 and kentik_site.lon != 0 %} {% endif %}
{% trans "ID" %} {{ kentik_site.id }}
{% trans "Title" %} {{ kentik_site.title }}
{% trans "Type" %} {{ kentik_site.type }}
{% trans "Postal address" %} {{ kentik_site.postalAddress|postal_address|placeholder }}
{% trans "GPS coordinates" %}
{{ kentik_site.lat }}, {{ kentik_site.lon }} {% if config.MAPS_URL %} {% trans "Map" %} {% endif %}
{% if kentik_site.siteMarket %}

{% trans "Site market" %}

{% trans "ID" %} {{ kentik_site.siteMarket.id }}
{% trans "Name" %} {{ kentik_site.siteMarket.name }}
{% trans "Description" %} {{ kentik_site.siteMarket.description|placeholder }}
{% trans "Number of sites" %} {{ kentik_site.siteMarket.numberOfSites }}
{% endif %} {% if kentik_site.peeringdbSiteMapping %}

{% trans "Peering DB site mappings" %}

{% for mapping in kentik_site.peeringdbSiteMapping %} {% endfor %}
{% trans "Facility ID" %}
{{ mapping.peeringdbFacId }} {% trans "View on PeeringDB" %}
{% endif %}

{% trans "Address classification" %}

{% with infra=kentik_site.addressClassification.infrastructureNetworks|non_empty user_access=kentik_site.addressClassification.userAccessNetworks|non_empty other=kentik_site.addressClassification.otherNetworks|non_empty %} {% if infra or user_access or other %} {% for prefix in infra %} {% endfor %} {% for prefix in user_access %} {% endfor %} {% for prefix in other %} {% endfor %}
{% trans "Infrastructure" %} {{ prefix }}
{% trans "User access" %} {{ prefix }}
{% trans "Other" %} {{ prefix }}
{% else %}
{% endif %} {% endwith %}
{% include 'netbox_kentik/inc/match_info_card.html' %}
{% else %} {% endif %} {% endblock content %}