N°6476 - Revert datamodel / compiler changes from N°5563 (#515)

This commit is contained in:
bdalsass
2023-06-29 15:11:30 +02:00
committed by GitHub
parent 12dbd0ed3d
commit b46d4db8ff
27 changed files with 4 additions and 497 deletions

View File

@@ -48,9 +48,8 @@ class BlockDirectLinkSetViewTable extends AbstractBlockLinkSetViewTable
$aExtraParams['panel_title_tooltip'] = $this->oAttDef->GetDescription();
}
// Add creation in modal if the linkset is not readonly
if (!$this->oAttDef->GetReadOnly()
&& $this->oAttDef->GetEditMode() != LINKSET_EDITMODE_NONE
// Add creation in modal if edit mode is not NONE
if ($this->oAttDef->GetEditMode() != LINKSET_EDITMODE_NONE
&& $this->bIsAllowCreate) {
$aExtraParams['creation_in_modal'] = true;
$aExtraParams['creation_in_modal_tooltip'] = $this->oAttDef->GetEditMode() == LINKSET_EDITMODE_ADDREMOVE ? $this->GetDictionaryEntry(static::DICT_ADD_BUTTON_TOOLTIP) : $this->GetDictionaryEntry(static::DICT_CREATE_BUTTON_TOOLTIP);