2021-03-02 15:58:33 -05:00
|
|
|
{% extends 'generic/object.html' %}
|
2020-09-24 11:25:52 -04:00
|
|
|
{% load helpers %}
|
|
|
|
{% load plugins %}
|
|
|
|
|
2021-03-02 15:58:33 -05:00
|
|
|
{% block breadcrumbs %}
|
|
|
|
<li><a href="{% url 'ipam:routetarget_list' %}">Route Targets</a></li>
|
|
|
|
<li>{{ object }}</li>
|
2020-09-24 11:25:52 -04:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
2021-03-13 02:19:42 -07:00
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">
|
|
|
|
Route Target
|
|
|
|
</h5>
|
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Name</th>
|
|
|
|
<td><code>{{ object.name }}</code></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Tenant</th>
|
|
|
|
<td>
|
|
|
|
{% if object.tenant %}
|
|
|
|
<a href="{{ object.tenant.get_absolute_url }}">{{ object.tenant }}</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="text-muted">None</span>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Description</th>
|
|
|
|
<td>{{ object.description|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2020-09-24 11:25:52 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-13 02:19:42 -07:00
|
|
|
|
2020-11-19 12:24:52 -05:00
|
|
|
{% plugin_left_page object %}
|
2020-09-24 11:25:52 -04:00
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
2021-03-13 02:19:42 -07:00
|
|
|
<div class="mb-4">
|
2020-09-24 12:09:28 -04:00
|
|
|
{% include 'panel_table.html' with table=importing_vrfs_table heading="Importing VRFs" %}
|
2021-03-13 02:19:42 -07:00
|
|
|
</div>
|
2020-09-24 12:09:28 -04:00
|
|
|
{% include 'panel_table.html' with table=exporting_vrfs_table heading="Exporting VRFs" %}
|
2020-11-19 12:24:52 -05:00
|
|
|
{% plugin_right_page object %}
|
2020-09-24 11:25:52 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-13 02:19:42 -07:00
|
|
|
<div class="row my-3">
|
|
|
|
<div class="col-md-6">
|
|
|
|
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:routetarget_list' %}
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
{% include 'inc/custom_fields_panel.html' %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-24 11:25:52 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2020-11-19 12:24:52 -05:00
|
|
|
{% plugin_full_width_page object %}
|
2020-09-24 11:25:52 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|