@php $filters = ['User', 'Admin']; @endphp @extends('panel.layout.settings') @section('title', __('Menu Management')) @section('titlebar_actions') {{ __('Add Menu Item') }} @endsection @push('css') @endpush @section('settings')

@lang('Editing:') @lang('Menu')

@lang('With the MagicAI menu creator, you can edit menu labels, change icons, switch between user and admin menus, and hide specific menu items.')

    @foreach ($items as $item) @if ($item['show_condition'])
  1. @if ($item['type'] === 'divider') @lang('Divider')
    @else @if ($item['type'] === 'label') {{ strtoupper(substr($item['label'], 0, 1)) }} @endif @if ($item['type'] === 'item') @endif @endif @if ($item['custom_menu']) @endif
    @if ($item['type'] == 'item' && in_array($dash_theme, ['bolt', 'marketing-bot-dashboard', 'social-media-dashboard']))
    @endif @if ($item['key'] != 'menu_setting')
    @endif
    @if ($item['type'] == 'item' && in_array($dash_theme, ['bolt', 'marketing-bot-dashboard', 'social-media-dashboard']))
    @endif
    @php $children = $item['children']; @endphp @if ($children)
      @foreach ($children as $child) @if (!$child['extension']) @php $child['show_condition'] = true; @endphp @endif @if (isset($child['show_condition']))
    1. @if ($child['type'] === 'divider') @lang('Divider')
      @else @if ($child['type'] === 'label') {{ strtoupper(substr($child['label'], 0, 1)) }} @endif @if ($child['type'] === 'item') @endif @endif @if ($child['custom_menu']) @endif
      @if (isset($child['key']) && $child['key'] != 'menu_setting')
      @endif
    2. @endif @endforeach
    @endif
  2. @endif @endforeach
@endsection @push('script') @endpush