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

Standardize & simplify tags panel inclusion

This commit is contained in:
jeremystretch
2021-10-21 11:23:31 -04:00
parent cfb3897047
commit 6f05f17c62
51 changed files with 60 additions and 42 deletions

View File

@@ -169,7 +169,6 @@
<div class="float-end text-warning">
<i class="mdi mdi-alert" title="{{ deprecation_warning }}"></i>
</div>
<a href="tel:{{ object.contact_
<a href="mailto:{{ object.contact_email }}">{{ object.contact_email }}</a>
{% else %}
<span class="text-muted">&mdash;</span>
@@ -181,7 +180,7 @@
</div>
</div>
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' with tags=object.tags.all url='dcim:site_list' %}
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
{% plugin_left_page object %}
</div>