mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°4078 - Use the icon when the hyperlink is put as 'shortcut'
This commit is contained in:
@@ -2321,6 +2321,12 @@ class MenuBlock extends DisplayBlock
|
||||
$sIconClass = 'fas fa-share-alt';
|
||||
$sLabel = '';
|
||||
break;
|
||||
|
||||
default:
|
||||
$sIconClass = $aAction['icon_class'] ?? '';
|
||||
if ($sIconClass != '') {
|
||||
$sLabel = '';
|
||||
}
|
||||
}
|
||||
|
||||
$sTarget = isset($aAction['target']) ? $aAction['target'] : '';
|
||||
|
||||
Reference in New Issue
Block a user