N°3185 - Rename tag to "main_logo_compact" and complete XML migration methods

This commit is contained in:
Molkobain
2020-08-04 10:17:11 +02:00
parent 19b5290e80
commit c93c53488d
4 changed files with 13 additions and 9 deletions

View File

@@ -2747,7 +2747,7 @@ EOF;
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'login_logo', 'login-logo');
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'main_logo', 'main-logo-full');
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'main_logo_square', 'main-logo-square');
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'main_logo_compact', 'main-logo-compact');
$this->CompileLogo($oBrandingNode, $sTempTargetDir, $sFinalTargetDir, 'portal_logo', 'portal-logo');
// Cleanup the images directory (eventually made by CompileFiles)

View File

@@ -783,6 +783,10 @@ class iTopDesignFormat
// -- 3182 - Remove style node from MenuGroup
$sPath = "/itop_design/menus/menu[@xsi:type='MenuGroup']/style";
$this->RemoveNodeFromXPath($sPath);
// -- 3185 - Remove main_logo_compact node from branding
$sPath = "/itop_design/branding/main_logo_compact";
$this->RemoveNodeFromXPath($sPath);
}
/**