1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-27 06:54:31 +02:00

Flextype Box Plugin: Admin #125 #117

- Plugins Controller/Views implementation
This commit is contained in:
Awilum
2019-05-22 14:46:43 +03:00
parent e40fcdded3
commit fff2a5c810

View File

@@ -15,7 +15,21 @@ class PluginsController extends Controller
return $this->view->render($response,
'plugins/admin/views/templates/extends/plugins/index.html', [
'plugins_list' => $this->registry->get('plugins'),
'menu_item' => 'plugins'
'menu_item' => 'plugins',
'links' => [
'plugins' => [
'link' => $this->router->urlFor('admin.plugins.index'),
'title' => __('admin_plugins'),
'attributes' => ['class' => 'navbar-item active']
],
],
'buttons' => [
'plugins_get_more' => [
'link' => 'https://github.com/flextype/plugins',
'title' => __('admin_get_more_plugins'),
'attributes' => ['float-right btn' => 'navbar-item', 'target' => '_blank']
],
]
]);
}