{% with netbox.get_powersupplies as psus %} {% if psus|length %} {% include "ipdevinfo/frag-psutable.html" %}
Power supplies
{% endif %} {% endwith %} {% with netbox.get_fans as psus %} {% if psus|length %} {% include "ipdevinfo/frag-psutable.html" %}
Fans
{% endif %} {% endwith %}