2021-03-02 15:58:33 -05:00
|
|
|
{% extends 'generic/object.html' %}
|
2020-09-24 11:25:52 -04:00
|
|
|
{% load helpers %}
|
|
|
|
{% load plugins %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-10-19 14:21:31 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col col-md-6">
|
|
|
|
<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 class="font-monospace">{{ object.name }}</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>
|
2021-10-19 14:21:31 -04:00
|
|
|
</div>
|
|
|
|
{% include 'inc/panels/tags.html' with tags=object.tags.all url='ipam:routetarget_list' %}
|
|
|
|
{% include 'inc/panels/custom_fields.html' %}
|
|
|
|
{% plugin_left_page object %}
|
|
|
|
</div>
|
|
|
|
<div class="col col-md-6">
|
|
|
|
<div class="mb-4">
|
2021-05-17 16:27:27 -04:00
|
|
|
{% include 'inc/panel_table.html' with table=importing_vrfs_table heading="Importing VRFs" %}
|
2021-10-19 14:21:31 -04:00
|
|
|
</div>
|
|
|
|
{% include 'inc/panel_table.html' with table=exporting_vrfs_table heading="Exporting VRFs" %}
|
|
|
|
{% plugin_right_page object %}
|
2020-09-24 11:25:52 -04:00
|
|
|
</div>
|
2021-10-19 14:21:31 -04:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2021-04-30 15:55:37 -07:00
|
|
|
<div class="col col-md-12">
|
2021-10-19 14:21:31 -04:00
|
|
|
{% plugin_full_width_page object %}
|
2020-09-24 11:25:52 -04:00
|
|
|
</div>
|
2021-10-19 14:21:31 -04:00
|
|
|
</div>
|
2020-09-24 11:25:52 -04:00
|
|
|
{% endblock %}
|