mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
N°9167 Use ExtensionDetails UIBlocks instead of table
This commit is contained in:
@@ -141,4 +141,12 @@ class iTopExtension
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public function GetExtensionSourceLabel(): string {
|
||||
return match ($this->sSource) {
|
||||
iTopExtension::SOURCE_MANUAL => 'Local extensions folder',
|
||||
iTopExtension::SOURCE_REMOTE => (ITOP_APPLICATION == 'iTop') ? 'iTop Hub' : 'ITSM Designer',
|
||||
default => 'Unknown',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user