N°9167 Use ExtensionDetails UIBlocks instead of table

This commit is contained in:
Timmy38
2026-05-12 12:01:41 +02:00
parent fb7a38c83f
commit b3b7fef6e4
11 changed files with 189 additions and 122 deletions

View File

@@ -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',
};
}
}