Home: Fix missing mainscreen message

This commit is contained in:
nathan 2023-03-10 09:13:17 -07:00
parent 560495cd9b
commit 63492b3e98
2 changed files with 5 additions and 3 deletions

View File

@ -212,7 +212,7 @@ class home_ui
// Add in legacy HTML home bits // Add in legacy HTML home bits
// TODO: DOM IDs still collide // TODO: DOM IDs still collide
//$this->get_legacy_portlets($portlets, $attributes); $this->get_legacy_portlets($portlets, $attributes);
return $portlets; return $portlets;
} }
@ -330,7 +330,9 @@ class home_ui
continue; continue;
} }
$context = array( $context = array(
'class' => 'home_legacy_portlet', 'app' => $appname, 'class' => 'home_legacy_portlet',
'app' => $appname,
'type' => 'et2-portlet',
'width' => 8, 'height' => 3 'width' => 8, 'height' => 3
); );
$_content = ''; $_content = '';

View File

@ -8,7 +8,7 @@
</et2-vbox> </et2-vbox>
</template> </template>
<template id="home.index" template="" lang="" group="0" version="1.9.001"> <template id="home.index" template="" lang="" group="0" version="1.9.001">
<html id="mainscreen_message"></html>
<old-box id="portlets"> <old-box id="portlets">
<!-- Box wrapper needed to get box to auto-repeat --> <!-- Box wrapper needed to get box to auto-repeat -->
<et2-portlet type="${row_cont[type]}" id="${row_cont[id]}" title="$row_cont[title]" color="$row_cont[color]" <et2-portlet type="${row_cont[type]}" id="${row_cont[id]}" title="$row_cont[title]" color="$row_cont[color]"