Minor improvement on please install flex admin pages

This commit is contained in:
Matias Griese
2020-01-29 20:28:37 +02:00
parent b97301d82d
commit df09c01a25
2 changed files with 4 additions and 0 deletions

View File

@@ -1311,6 +1311,8 @@ class Pages
$page = $event['page'];
$page->init(new \SplFileInfo('plugin://admin/pages/admin/error.md'));
$page->routable(true);
$header = $page->header();
$header->title = 'Please install missing plugin';
$page->content("## Please install and enable **[Flex Objects]({$base}/plugins/flex-objects)** plugin. It is required to edit **Flex Pages**.");
/** @var Header $header */

View File

@@ -97,6 +97,8 @@ class AccountsServiceProvider implements ServiceProviderInterface
$page = $event['page'];
$page->init(new \SplFileInfo('plugin://admin/pages/admin/error.md'));
$page->routable(true);
$header = $page->header();
$header->title = 'Please install missing plugin';
$page->content("## Please install and enable **[Flex Objects]({$base}/plugins/flex-objects)** plugin. It is required to edit **Flex User Accounts**.");
/** @var Header $header */