mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
65 lines
2.0 KiB
HTML
65 lines
2.0 KiB
HTML
{% extends 'generic/object.html' %}
|
|
{% load buttons %}
|
|
{% load helpers %}
|
|
{% load plugins %}
|
|
{% load render_table from django_tables2 %}
|
|
{% load i18n %}
|
|
|
|
{% block breadcrumbs %}
|
|
{{ block.super }}
|
|
<li class="breadcrumb-item"><a href="{% url 'ipam:asn_list' %}?rir_id={{ object.rir.pk }}">{{ object.rir }}</a></li>
|
|
{% if object.range %}
|
|
<li class="breadcrumb-item"><a href="{% url 'ipam:asn_list' %}?range_id={{ object.range.pk }}">{{ object.range }}</a></li>
|
|
{% endif %}
|
|
{% endblock breadcrumbs %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col col-md-6">
|
|
<div class="card">
|
|
<h5 class="card-header">{% trans "ASN" %}</h5>
|
|
<div class="card-body">
|
|
<table class="table table-hover attr-table">
|
|
<tr>
|
|
<td>{% trans "AS Number" %}</td>
|
|
<td>{{ object.asn_with_asdot }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>{% trans "RIR" %}</td>
|
|
<td>
|
|
<a href="{% url 'ipam:asn_list' %}?rir={{ object.rir.slug }}">{{ object.rir }}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>{% trans "Tenant" %}</td>
|
|
<td>
|
|
{% if object.tenant.group %}
|
|
{{ object.tenant.group|linkify }} /
|
|
{% endif %}
|
|
{{ object.tenant|linkify|placeholder }}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>{% trans "Description" %}</td>
|
|
<td>{{ object.description|placeholder }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% plugin_left_page object %}
|
|
{% include 'inc/panels/tags.html' %}
|
|
</div>
|
|
<div class="col col-md-6">
|
|
{% include 'inc/panels/related_objects.html' %}
|
|
{% include 'inc/panels/custom_fields.html' %}
|
|
{% include 'inc/panels/comments.html' %}
|
|
{% plugin_right_page object %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col col-md-12">
|
|
{% plugin_full_width_page object %}
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|