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

Fixes #1766: Fixed display of "select all" button on device power outlets list

This commit is contained in:
Jeremy Stretch
2017-12-13 15:23:35 -05:00
parent 06810bff91
commit da3935ff36

View File

@ -535,7 +535,7 @@
<div class="panel-heading">
<strong>Power Outlets</strong>
<div class="pull-right">
{% if perms.dcim.change_poweroutlet and cs_ports|length > 1 %}
{% if perms.dcim.change_poweroutlet and power_outlets|length > 1 %}
<button class="btn btn-default btn-xs toggle">
<span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Select all
</button>