Skip to content

Commit

Permalink
ux improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyons committed Nov 29, 2016
1 parent 4201c3b commit c7b4cef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion views/menu/_item_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', [
Expand Down
1 change: 1 addition & 0 deletions views/menu/children.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
]) ?>
</div>
<div class="col-xs-12 col-md-3">
<p>Menu "<?= $parent->menu->name ?>"</p>
<?= $this->render('_menu_tree', [
'items' => $parent->menu->items,
'currentItem' => $parent,
Expand Down

0 comments on commit c7b4cef

Please sign in to comment.