2021-10-24 23:42:47 -05:00
|
|
|
{% extends 'generic/object.html' %}
|
|
|
|
{% load buttons %}
|
|
|
|
{% load helpers %}
|
|
|
|
{% load plugins %}
|
2021-12-13 15:36:51 -05:00
|
|
|
{% load render_table from django_tables2 %}
|
2023-07-29 03:30:25 +07:00
|
|
|
{% load i18n %}
|
2021-10-24 23:42:47 -05:00
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
|
|
|
{{ block.super }}
|
|
|
|
<li class="breadcrumb-item"><a href="{% url 'ipam:asn_list' %}?rir_id={{ object.rir.pk }}">{{ object.rir }}</a></li>
|
2023-02-27 16:36:05 -05:00
|
|
|
{% if object.range %}
|
|
|
|
<li class="breadcrumb-item"><a href="{% url 'ipam:asn_list' %}?range_id={{ object.range.pk }}">{{ object.range }}</a></li>
|
|
|
|
{% endif %}
|
2021-11-04 16:16:59 -04:00
|
|
|
{% endblock breadcrumbs %}
|
2021-10-24 23:42:47 -05:00
|
|
|
|
|
|
|
{% block content %}
|
2021-11-04 16:16:59 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col col-md-6">
|
|
|
|
<div class="card">
|
2023-07-29 03:30:25 +07:00
|
|
|
<h5 class="card-header">{% trans "ASN" %}</h5>
|
2024-01-17 16:25:42 -05:00
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "AS Number" %}</th>
|
|
|
|
<td>{{ object.asn_with_asdot }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "RIR" %}</th>
|
|
|
|
<td>
|
|
|
|
<a href="{% url 'ipam:asn_list' %}?rir={{ object.rir.slug }}">{{ object.rir }}</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Tenant" %}</th>
|
|
|
|
<td>
|
|
|
|
{% if object.tenant.group %}
|
|
|
|
{{ object.tenant.group|linkify }} /
|
|
|
|
{% endif %}
|
|
|
|
{{ object.tenant|linkify|placeholder }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Description" %}</th>
|
|
|
|
<td>{{ object.description|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2021-11-04 16:16:59 -04:00
|
|
|
</div>
|
|
|
|
{% plugin_left_page object %}
|
2023-01-25 17:27:57 -05:00
|
|
|
{% include 'inc/panels/tags.html' %}
|
2021-10-24 23:42:47 -05:00
|
|
|
</div>
|
|
|
|
<div class="col col-md-6">
|
2023-01-25 17:27:57 -05:00
|
|
|
{% include 'inc/panels/related_objects.html' %}
|
2021-11-04 16:16:59 -04:00
|
|
|
{% include 'inc/panels/custom_fields.html' %}
|
2022-11-04 08:28:09 -04:00
|
|
|
{% include 'inc/panels/comments.html' %}
|
2021-11-04 16:16:59 -04:00
|
|
|
{% plugin_right_page object %}
|
2021-10-24 23:42:47 -05:00
|
|
|
</div>
|
2021-11-04 16:16:59 -04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2021-10-24 23:42:47 -05:00
|
|
|
<div class="col col-md-12">
|
2021-11-04 16:16:59 -04:00
|
|
|
{% plugin_full_width_page object %}
|
2021-10-24 23:42:47 -05:00
|
|
|
</div>
|
2021-11-04 16:16:59 -04:00
|
|
|
</div>
|
|
|
|
{% endblock content %}
|