mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Added icon for boolean fields
This commit is contained in:
parent
8d99ad3099
commit
b7a90dd09a
@ -8,7 +8,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ field }}</td>
|
<td>{{ field }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if value != None %}
|
{% if value == True %}
|
||||||
|
<i class="glyphicon glyphicon-ok text-success" title="True"></i>
|
||||||
|
{% elif value == False %}
|
||||||
|
<i class="glyphicon glyphicon-remove text-danger" title="False"></i>
|
||||||
|
{% elif value %}
|
||||||
{{ value }}
|
{{ value }}
|
||||||
{% elif field.required %}
|
{% elif field.required %}
|
||||||
<span class="text-warning">Not defined</span>
|
<span class="text-warning">Not defined</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user