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

Include child regions, site groups

This commit is contained in:
jeremystretch
2021-04-06 09:42:36 -04:00
parent e543b305c3
commit 838200219f
4 changed files with 64 additions and 10 deletions

View File

@@ -44,10 +44,23 @@
</tr>
</table>
</div>
{% include 'inc/custom_fields_panel.html' %}
{% plugin_left_page object %}
</div>
<div class="col-md-6">
{% include 'inc/custom_fields_panel.html' %}
<div class="panel panel-default">
<div class="panel-heading">
<strong>Child Regions</strong>
</div>
{% include 'inc/table.html' with table=child_regions_table %}
{% if perms.dcim.add_region %}
<div class="panel-footer text-right noprint">
<a href="{% url 'dcim:region_add' %}?parent={{ object.pk }}" class="btn btn-xs btn-primary">
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add region
</a>
</div>
{% endif %}
</div>
{% plugin_right_page object %}
</div>
</div>