3960 legacy device status

This commit is contained in:
kobayashi
2020-01-21 00:30:47 -05:00
parent 606f3dacbb
commit 9e855ac6cd
2 changed files with 2 additions and 1 deletions

View File

@@ -84,7 +84,7 @@
</a>
</li>
{% if perms.dcim.napalm_read %}
{% if device.status != 1 %}
{% if device.status != 'active' %}
{% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='Device must be in active status' %}
{% elif not device.platform %}
{% include 'dcim/inc/device_napalm_tabs.html' with disabled_message='No platform assigned to this device' %}