From c7b4cef42ea61eef2a8928168ef7a74482ab7128 Mon Sep 17 00:00:00 2001 From: andreyons Date: Tue, 29 Nov 2016 17:49:58 +0200 Subject: [PATCH] ux improvement --- views/menu/_item_list.php | 2 +- views/menu/children.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/views/menu/_item_list.php b/views/menu/_item_list.php index 70be8a7..7560b31 100644 --- a/views/menu/_item_list.php +++ b/views/menu/_item_list.php @@ -49,7 +49,7 @@ function moveItem(id, newIndex) { Modal::begin([ 'id' => 'item-form', - 'header' => 'New menu item', + 'header' => 'New menu item for ' . $model->name, ]); echo $this->render('_item_form', [ diff --git a/views/menu/children.php b/views/menu/children.php index bd4b075..cbbc15a 100644 --- a/views/menu/children.php +++ b/views/menu/children.php @@ -32,6 +32,7 @@ ]) ?>
+

Menu "menu->name ?>"

render('_menu_tree', [ 'items' => $parent->menu->items, 'currentItem' => $parent,