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"> <div class="panel-heading">
<strong>Power Outlets</strong> <strong>Power Outlets</strong>
<div class="pull-right"> <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"> <button class="btn btn-default btn-xs toggle">
<span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Select all <span class="glyphicon glyphicon-unchecked" aria-hidden="true"></span> Select all
</button> </button>