From 85778546cc0d47b20fbb9880b7a1f68996e53bd2 Mon Sep 17 00:00:00 2001 From: Julien Tant Date: Wed, 11 Oct 2017 18:47:09 +0200 Subject: [PATCH] use blade in menu module --- .../views/admin/menuitems/create.blade.php | 12 ++++++---- .../views/admin/menuitems/edit.blade.php | 12 ++++++---- .../partials/create-fields.blade.php | 12 +++++----- .../menuitems/partials/edit-fields.blade.php | 20 ++++++++-------- .../views/admin/menus/create.blade.php | 12 ++++++---- .../views/admin/menus/edit.blade.php | 12 ++++++---- .../views/admin/menus/index.blade.php | 24 +++++++++++-------- 7 files changed, 58 insertions(+), 46 deletions(-) diff --git a/Modules/Menu/Resources/views/admin/menuitems/create.blade.php b/Modules/Menu/Resources/views/admin/menuitems/create.blade.php index 83d131a5d..ca6387d99 100644 --- a/Modules/Menu/Resources/views/admin/menuitems/create.blade.php +++ b/Modules/Menu/Resources/views/admin/menuitems/create.blade.php @@ -23,21 +23,23 @@ diff --git a/Modules/Menu/Resources/views/admin/menuitems/edit.blade.php b/Modules/Menu/Resources/views/admin/menuitems/edit.blade.php index 6062e0168..dd819a6b6 100644 --- a/Modules/Menu/Resources/views/admin/menuitems/edit.blade.php +++ b/Modules/Menu/Resources/views/admin/menuitems/edit.blade.php @@ -23,21 +23,23 @@ diff --git a/Modules/Menu/Resources/views/admin/menuitems/partials/create-fields.blade.php b/Modules/Menu/Resources/views/admin/menuitems/partials/create-fields.blade.php index aaee012c4..7448f121c 100644 --- a/Modules/Menu/Resources/views/admin/menuitems/partials/create-fields.blade.php +++ b/Modules/Menu/Resources/views/admin/menuitems/partials/create-fields.blade.php @@ -12,18 +12,18 @@
diff --git a/Modules/Menu/Resources/views/admin/menuitems/partials/edit-fields.blade.php b/Modules/Menu/Resources/views/admin/menuitems/partials/edit-fields.blade.php index 04326bc06..7313f5aa8 100644 --- a/Modules/Menu/Resources/views/admin/menuitems/partials/edit-fields.blade.php +++ b/Modules/Menu/Resources/views/admin/menuitems/partials/edit-fields.blade.php @@ -13,22 +13,22 @@
diff --git a/Modules/Menu/Resources/views/admin/menus/create.blade.php b/Modules/Menu/Resources/views/admin/menus/create.blade.php index 8f16c8fe8..412236d17 100644 --- a/Modules/Menu/Resources/views/admin/menus/create.blade.php +++ b/Modules/Menu/Resources/views/admin/menus/create.blade.php @@ -23,21 +23,23 @@
diff --git a/Modules/Menu/Resources/views/admin/menus/edit.blade.php b/Modules/Menu/Resources/views/admin/menus/edit.blade.php index 99bbf8b33..2aeaed968 100644 --- a/Modules/Menu/Resources/views/admin/menus/edit.blade.php +++ b/Modules/Menu/Resources/views/admin/menus/edit.blade.php @@ -41,21 +41,23 @@ diff --git a/Modules/Menu/Resources/views/admin/menus/index.blade.php b/Modules/Menu/Resources/views/admin/menus/index.blade.php index 9763972b7..269b94199 100644 --- a/Modules/Menu/Resources/views/admin/menus/index.blade.php +++ b/Modules/Menu/Resources/views/admin/menus/index.blade.php @@ -34,8 +34,8 @@ - - + @isset($menus) + @foreach ($menus as $menu) @@ -49,13 +49,17 @@
- - + +
- - + @endforeach + @endisset @@ -71,8 +75,8 @@ - - +@isset($menus) + @foreach ($menus as $menu) - - + @endforeach +@endisset @stop @section('footer')