mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°2847 - Edit/Create objects
This commit is contained in:
@@ -851,20 +851,15 @@ function DisplayClassDetails($oPage, $sClass, $sContext)
|
||||
$aDetails = array();
|
||||
|
||||
$aOrigins = array();
|
||||
foreach (MetaModel::ListAttributeDefs($sClass) as $sAttCode => $oAttDef)
|
||||
{
|
||||
if ($oAttDef->IsExternalKey())
|
||||
{
|
||||
foreach (MetaModel::ListAttributeDefs($sClass) as $sAttCode => $oAttDef) {
|
||||
if ($oAttDef->IsExternalKey()) {
|
||||
$sValue = Dict::Format('UI:Schema:ExternalKey_To', MakeClassHLink($oAttDef->GetTargetClass(), $sContext));
|
||||
if (array_key_exists($sAttCode, $aForwardChangeTracking))
|
||||
{
|
||||
if (array_key_exists($sAttCode, $aForwardChangeTracking)) {
|
||||
$oLinkSet = $aForwardChangeTracking[$sAttCode];
|
||||
$sRemoteClass = $oLinkSet->GetHostClass();
|
||||
$sValue = $sValue."<span title=\"Forward changes to $sRemoteClass\">*</span>";
|
||||
}
|
||||
}
|
||||
elseif ($oAttDef->IsLinkSet())
|
||||
{
|
||||
} elseif ($oAttDef->IsLinkSet()) {
|
||||
$sValue = MakeClassHLink($oAttDef->GetLinkedClass(), $sContext);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user