mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
N°8955 Add badges to subblocks list
This commit is contained in:
@@ -41,7 +41,14 @@ class ExtensionDetails extends UIContentBlock
|
||||
|
||||
public function GetSubBlocks(): array
|
||||
{
|
||||
return [$this->oToggler->GetId() => $this->oToggler, $this->oMoreActions->GetId() => $this->oMoreActions];
|
||||
$aSubBlocks = [
|
||||
$this->oToggler->GetId() => $this->oToggler,
|
||||
$this->oMoreActions->GetId() => $this->oMoreActions,
|
||||
];
|
||||
foreach ($this->aBadges as $oBadge) {
|
||||
$aSubBlocks[$oBadge->GetId()] = $oBadge;
|
||||
}
|
||||
return $aSubBlocks;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user