mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
some database updates (adding some _deleted fields) and fix links table.
git-svn-id: http://www.observium.org/svn/observer/trunk@3199 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -357,7 +357,9 @@ function generate_entity_link($type, $entity, $text = NULL, $graph_type=NULL)
|
||||
$link = generate_port_link($entity, $text, $graph_type);
|
||||
break;
|
||||
case "storage":
|
||||
$url = generate_url(array('page' => 'device', 'device' => $entity['device_id'], 'tab' => 'health', 'metric' => 'storage'));
|
||||
if(empty($text)) { $text = $entity['storage_descr']; }
|
||||
$link = generate_link($text, array('page' => 'device', 'device' => $entity['device_id'], 'tab' => 'health', 'metric' => 'storage'));
|
||||
break;
|
||||
default:
|
||||
$link = $entity[$type.'_id'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user