{% extends 'base.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load plugins %} {% load render_table from django_tables2 %} {% block header %}
{% comment %} {% plugin_buttons object %} {% if perms.netbox_bgp.add_asn %} {% clone_button object %} {% endif %} {% if perms.netbox_bgp.change_asn %} {% edit_button object %} {% endif %} {% if perms.netbox_bgp.delete_asn %} {% delete_button object %} {% endif %} {% endcomment %} {% if perms.netbox_bgp.change_asn %} Edit {% endif %} {% if perms.netbox_bgp.delete_asn %} Delete {% endif %}

{% block title %}AS{{ object }}{% endblock %}

{% include 'inc/created_updated.html' %}
{% custom_links object %}
{% endblock %} {% block content %}
ASN
Site {% if object.site %} {{ object.site }} {% else %} None {% endif %}
Number {{ object.number }}
Tenant {% if object.tenant %} {{ object.tenant }} {% else %} None {% endif %}
Status {{ object.get_status_display }}
Description {{ object.description|placeholder }}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='plugins:netbox_bgp:asn_list' %} {% include 'inc/custom_fields_panel.html' %} {% plugin_left_page object %}
{% include 'utilities/obj_table.html' with table=related_session_table table_template='panel_table.html' heading='Related BGP Sessions' panel_class='default noprint' %} {% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}