@if (config()->has('twill-navigation')) @partialView(($moduleName ?? null), 'navigation._title') @foreach(config('twill-navigation') as $global_navigation_key => $global_navigation_element) @can($global_navigation_element['can'] ?? 'list') @if(isActiveNavigation($global_navigation_element, $global_navigation_key, $_global_active_navigation)) {{ $global_navigation_element['title'] }} @else {{ $global_navigation_element['title'] }} @endif @endcan @endforeach @if (config('twill.enabled.media-library') || config('twill.enabled.file-library')) {{ twillTrans('twill::lang.nav.media-library') }} @endif @if(isset($currentUser)) {{ twillTrans('twill::lang.nav.cms-users') }} {{ twillTrans('twill::lang.nav.settings') }} {{ twillTrans('twill::lang.nav.logout') }} @endif @foreach(config('twill-navigation') as $global_navigation_key => $global_navigation_element) @can($global_navigation_element['can'] ?? 'list') @if(isActiveNavigation($global_navigation_element, $global_navigation_key, $_global_active_navigation)) {{ $global_navigation_element['title'] }} @endif @endcan @endforeach {{ twillTrans('twill::lang.nav.close-menu') }} @endif