Skip to content

Commit

Permalink
Fixes #1766: Fixed display of "select all" button on device power out…
Browse files Browse the repository at this point in the history
…lets list
  • Loading branch information
jeremystretch committed Dec 13, 2017
1 parent 06810bf commit da3935f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/templates/dcim/device.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit da3935f

Please sign in to comment.