diff --git a/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml b/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml index be9652e86c..53aa39c035 100755 --- a/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml +++ b/datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml @@ -495,7 +495,49 @@ - + + + false + + Class:PowerConnection/Attribute:powered_devices+ + DashboardLayoutOneCol + + + 10 + + + 10 + Class:PDU + ../images/icons/icons8-plug-socket.svg + + + 20 + Class:PowerConnection/Attribute:pdus_list+ + SELECT PDU WHERE powerstart_id = :this->id + false + + + + + 20 + + + 0 + Class:DatacenterDevice + ../images/icons/icons8-server.svg + + + 1 + Class:PowerConnection/Attribute:datacenterdevices_list+ + SELECT DatacenterDevice WHERE powerA_id = :this->id OR powerB_id = :this->id + false + + + + + + 0 +
@@ -569,6 +611,9 @@ + + 100 + 140 @@ -772,8 +817,8 @@ - - 140 + + 100 150 @@ -1001,6 +1046,9 @@ + + 100 + 160 diff --git a/datamodels/2.x/itop-datacenter-mgmt/dictionaries/en.dict.itop-datacenter-mgmt.php b/datamodels/2.x/itop-datacenter-mgmt/dictionaries/en.dict.itop-datacenter-mgmt.php index 9a265de96e..381c768c05 100644 --- a/datamodels/2.x/itop-datacenter-mgmt/dictionaries/en.dict.itop-datacenter-mgmt.php +++ b/datamodels/2.x/itop-datacenter-mgmt/dictionaries/en.dict.itop-datacenter-mgmt.php @@ -3,7 +3,7 @@ /** * Localized data * - * @copyright Copyright (C) 2010-2024 Combodo SAS + * @copyright Copyright (C) 2010-2026 Combodo SAS * @license http://opensource.org/licenses/AGPL-3.0 * * This file is part of iTop. @@ -22,6 +22,13 @@ * along with iTop. If not, see */ +// +// Class: PowerConnection +// + Dict::Add('EN US', 'English', 'English', [ - // Dictionary entries go here + 'Class:PowerConnection/Attribute:datacenterdevices_list+' => 'All the datacenter devices using this power connection', + 'Class:PowerConnection/Attribute:pdus_list+' => 'All the PDUs using this power connection', + 'Class:PowerConnection/Attribute:powered_devices' => 'Powered Devices', + 'Class:PowerConnection/Attribute:powered_devices+' => '', ]);