mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added ability to disable rediscovery button for devices
This commit is contained in:
@@ -65,9 +65,15 @@ if ($updated && $update_message)
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
</div>
|
||||
<?php
|
||||
if($config['disable_clear_discovery'] == 0) {
|
||||
?>
|
||||
<div class="col-sm-1">
|
||||
<button type="submit" id="rediscover" data-device_id="<?php echo($device['device_id']); ?>" class="btn btn-primary" name="rediscover">Rediscover device</button>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<br />
|
||||
<form id="edit" name="edit" method="post" action="" role="form" class="form-horizontal">
|
||||
|
||||
Reference in New Issue
Block a user