From 310cbf395102679c7d83f247d0b74f1937cefeae Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Mon, 23 Sep 2019 13:16:09 +0200 Subject: [PATCH] use Nav widget for control sidebar --- src/views/layouts/_control-sidebar.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/views/layouts/_control-sidebar.php b/src/views/layouts/_control-sidebar.php index b4b520d..86945f4 100644 --- a/src/views/layouts/_control-sidebar.php +++ b/src/views/layouts/_control-sidebar.php @@ -1,11 +1,13 @@ + getModule('backend'); foreach (\dmstr\helpers\Metadata::getModules() as $name => $module) { @@ -144,18 +146,10 @@ class="fa fa-edit">
params['context.menuItems']) && !empty(Yii::$app->params['context.menuItems'])): ?> +