2018-02-13 11:03:31 -05:00
|
|
|
{% if not disabled_message %}
|
|
|
|
<li role="presentation"{% if active_tab == 'status' %} class="active"{% endif %}>
|
2020-11-19 11:29:18 -05:00
|
|
|
<a href="{% url 'dcim:device_status' pk=object.pk %}">Status</a>
|
2018-02-13 11:03:31 -05:00
|
|
|
</li>
|
|
|
|
<li role="presentation"{% if active_tab == 'lldp-neighbors' %} class="active"{% endif %}>
|
2020-11-19 11:29:18 -05:00
|
|
|
<a href="{% url 'dcim:device_lldp_neighbors' pk=object.pk %}">LLDP Neighbors</a>
|
2018-02-13 11:03:31 -05:00
|
|
|
</li>
|
|
|
|
<li role="presentation"{% if active_tab == 'config' %} class="active"{% endif %}>
|
2020-11-19 11:29:18 -05:00
|
|
|
<a href="{% url 'dcim:device_config' pk=object.pk %}">Configuration</a>
|
2018-02-13 11:03:31 -05:00
|
|
|
</li>
|
|
|
|
{% else %}
|
|
|
|
<li role="presentation" class="disabled"><a href="#" title="{{ disabled_message }}">Status</a></li>
|
|
|
|
<li role="presentation" class="disabled"><a href="#" title="{{ disabled_message }}">LLDP Neighbors</a></li>
|
|
|
|
<li role="presentation" class="disabled"><a href="#" title="{{ disabled_message }}">Configuration</a></li>
|
|
|
|
{% endif %}
|