diff --git a/application/dashlet.class.inc.php b/application/dashlet.class.inc.php index 4b07f6463..a614cc156 100644 --- a/application/dashlet.class.inc.php +++ b/application/dashlet.class.inc.php @@ -926,24 +926,36 @@ class DashletObjectList extends Dashlet */ public function RenderNoData($oPage, $bEditMode = false, $aExtraParams = array()) { + $oDashletContainer = new DashletContainer($this->sId, ['dashlet-content']); $sTitle = $this->aProperties['title']; $sQuery = $this->aProperties['query']; $bShowMenu = $this->aProperties['menu']; - - $oPage->add('
'.Dict::Format('UI:ClickToCreateNew', $this->oModelReflection->GetName($sClass)).'
'; } - $oPage->add('$sMessage
+$sMenu +';
- $sHtml .= ' '.$sClassLabel.': 947';
- $sHtml .= '
'; - $sHtml .= ' '.Dict::Format('UI:ClickToCreateNew', $sClassLabel).''; - $sHtml .= '
'; - $sHtml .= '