mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°3566 Hub connector migrate to UiBlock : deployed extensions page
Add Hub icon to the button 🤩
This commit is contained in:
@@ -82,7 +82,8 @@ try {
|
||||
$oPage->AddSubBlock($oHubButtonContainer);
|
||||
$sUrl = utils::GetAbsoluteUrlModulePage('itop-hub-connector', 'launch.php', array('target' => 'browse_extensions'));
|
||||
$oHubButton = ButtonUIBlockFactory::MakeForPrimaryAction(Dict::S('iTopHub:GetMoreExtensions'), 'install-extensions-button')
|
||||
->SetOnClickJsCode("window.location.href='$sUrl'");
|
||||
->SetOnClickJsCode("window.location.href='$sUrl'")
|
||||
->SetIconClass('fa-fw fc fc-itophub-icon fc-1-5x');
|
||||
$oHubButtonContainer->AddSubBlock($oHubButton);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user