Arranged object tags into a separate panel

This commit is contained in:
Jeremy Stretch
2018-07-10 10:48:33 -04:00
parent f2512c4fdc
commit 4802e516e5
28 changed files with 112 additions and 235 deletions

View File

@@ -169,16 +169,6 @@
{% endif %}
</td>
</tr>
<tr>
<td>Tags</td>
<td>
{% for tag in device.tags.all %}
{% tag tag 'dcim:device_list' %}
{% empty %}
<span class="text-muted">N/A</span>
{% endfor %}
</td>
</tr>
</table>
</div>
{% if vc_members %}
@@ -295,6 +285,7 @@
{% with device.get_custom_fields as custom_fields %}
{% include 'inc/custom_fields_panel.html' %}
{% endwith %}
{% include 'extras/inc/tags_panel.html' with tags=device.tags.all url='dcim:device_list' %}
<div class="panel panel-default">
<div class="panel-heading">
<strong>Comments</strong>