mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°5905 - Move tab description to a tooltip on the panel's title instead of a big blue alert
This commit is contained in:
@@ -42,6 +42,11 @@ class BlockDirectLinksViewTable extends AbstractBlockLinksViewTable
|
||||
'panel_icon' => MetaModel::GetClassIcon($this->GetTargetClass(), false),
|
||||
);
|
||||
|
||||
// Description
|
||||
if ($this->oAttDef->HasDescription()) {
|
||||
$aExtraParams['panel_title_tooltip'] = $this->oAttDef->GetDescription();
|
||||
}
|
||||
|
||||
// Add creation in modal if the linkset is not readonly
|
||||
if (!$this->oAttDef->GetReadOnly()) {
|
||||
$aExtraParams['creation_in_modal_is_allowed'] = true;
|
||||
|
||||
Reference in New Issue
Block a user