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

Closes #4309: Add descriptive tooltip to custom fields on object views

This commit is contained in:
Jeremy Stretch
2020-03-12 21:43:34 -04:00
parent a28509019a
commit 1487b5004d
2 changed files with 7 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
<table class="table table-hover panel-body attr-table">
{% for field, value in custom_fields.items %}
<tr>
<td>{{ field }}</td>
<td><span title="{{ field.description }}">{{ field }}</span></td>
<td>
{% if field.type == 'boolean' and value == True %}
<i class="glyphicon glyphicon-ok text-success" title="True"></i>