ソースを参照

Merge pull request #2287 from TakeMeNL/bug/2286

Fix #2286 : Non working 'mark installed' button
Jeremy Stretch 7 年 前
コミット
27e8841a6d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      netbox/templates/dcim/inc/poweroutlet.html

+ 1 - 1
netbox/templates/dcim/inc/poweroutlet.html

@@ -27,7 +27,7 @@
                         <i class="glyphicon glyphicon-ban-circle" aria-hidden="true"></i>
                         <i class="glyphicon glyphicon-ban-circle" aria-hidden="true"></i>
                     </a>
                     </a>
                 {% else %}
                 {% else %}
-                    <a href="#" class="btn btn-success btn-xs consoleport-toggle" title="Mark installed" data="{{ po.connected_port.pk }}">
+                    <a href="#" class="btn btn-success btn-xs powerport-toggle" title="Mark installed" data="{{ po.connected_port.pk }}">
                         <i class="fa fa-plug" aria-hidden="true"></i>
                         <i class="fa fa-plug" aria-hidden="true"></i>
                     </a>
                     </a>
                 {% endif %}
                 {% endif %}