1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

64 lines
1.9 KiB
HTML
Raw Normal View History

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 %}
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>
{% 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">
<h5 class="card-header">ASN</h5>
<div class="card-body">
<table class="table table-hover attr-table">
<tr>
<td>AS Number</td>
2022-01-17 11:12:54 -05:00
<td>{{ object.asn_with_asdot }}</td>
2021-11-04 16:16:59 -04:00
</tr>
<tr>
<td>RIR</td>
<td>
<a href="{% url 'ipam:asn_list' %}?rir={{ object.rir.slug }}">{{ object.rir }}</a>
</td>
</tr>
<tr>
<td>Tenant</td>
<td>
2022-03-22 15:29:05 -04:00
{% if object.tenant.group %}
{{ object.tenant.group|linkify }} /
2021-11-04 16:16:59 -04:00
{% endif %}
2022-03-22 15:29:05 -04:00
{{ object.tenant|linkify|placeholder }}
2021-11-04 16:16:59 -04:00
</td>
</tr>
<tr>
<td>Description</td>
<td>{{ object.description|placeholder }}</td>
</tr>
</table>
2021-10-24 23:42:47 -05:00
</div>
2021-11-04 16:16:59 -04:00
</div>
{% plugin_left_page object %}
{% include 'inc/panels/tags.html' %}
2021-10-24 23:42:47 -05:00
</div>
<div class="col col-md-6">
{% include 'inc/panels/related_objects.html' %}
2021-11-04 16:16:59 -04:00
{% include 'inc/panels/custom_fields.html' %}
{% 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 %}