settings updates, fixed
This commit is contained in:
@@ -74,6 +74,42 @@
|
|||||||
</flux:sidebar.item>
|
</flux:sidebar.item>
|
||||||
@endif
|
@endif
|
||||||
</flux:sidebar.group>
|
</flux:sidebar.group>
|
||||||
|
|
||||||
|
|
||||||
|
@if (Route::has('documentation.index') || Route::has('documentation.documents.index'))
|
||||||
|
<flux:sidebar.group :heading="__('Documentation')" class="grid">
|
||||||
|
@if (Route::has('documentation.documents.index'))
|
||||||
|
<flux:sidebar.item
|
||||||
|
icon="book-open"
|
||||||
|
:href="route('documentation.documents.index')"
|
||||||
|
:current="request()->routeIs('documentation.documents.*') || request()->routeIs('documentation.index')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('Documents') }}
|
||||||
|
</flux:sidebar.item>
|
||||||
|
@elseif (Route::has('documentation.index'))
|
||||||
|
<flux:sidebar.item
|
||||||
|
icon="book-open"
|
||||||
|
:href="route('documentation.index')"
|
||||||
|
:current="request()->routeIs('documentation.*')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('Documents') }}
|
||||||
|
</flux:sidebar.item>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if (Route::has('documentation.categories.index'))
|
||||||
|
<flux:sidebar.item
|
||||||
|
icon="folder"
|
||||||
|
:href="route('documentation.categories.index')"
|
||||||
|
:current="request()->routeIs('documentation.categories.*')"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('Categories') }}
|
||||||
|
</flux:sidebar.item>
|
||||||
|
@endif
|
||||||
|
</flux:sidebar.group>
|
||||||
|
@endif
|
||||||
</flux:sidebar.nav>
|
</flux:sidebar.nav>
|
||||||
|
|
||||||
<flux:spacer />
|
<flux:spacer />
|
||||||
@@ -85,7 +121,7 @@
|
|||||||
</flux:sidebar>
|
</flux:sidebar>
|
||||||
|
|
||||||
<!-- Mobile User Menu -->
|
<!-- Mobile User Menu -->
|
||||||
<flux:header class="hd-mobile-header lg:hidden">
|
<flux:header class="lg:hidden">
|
||||||
<flux:sidebar.toggle
|
<flux:sidebar.toggle
|
||||||
class="lg:hidden"
|
class="lg:hidden"
|
||||||
icon="bars-2"
|
icon="bars-2"
|
||||||
@@ -125,6 +161,16 @@
|
|||||||
<flux:menu.separator />
|
<flux:menu.separator />
|
||||||
|
|
||||||
<flux:menu.radio.group>
|
<flux:menu.radio.group>
|
||||||
|
|
||||||
|
@if (Route::has('documentation.documents.index') || Route::has('documentation.index'))
|
||||||
|
<flux:menu.item
|
||||||
|
:href="Route::has('documentation.documents.index') ? route('documentation.documents.index') : route('documentation.index')"
|
||||||
|
icon="book-open"
|
||||||
|
wire:navigate
|
||||||
|
>
|
||||||
|
{{ __('Documentation') }}
|
||||||
|
</flux:menu.item>
|
||||||
|
@endif
|
||||||
@if ($helpdeskSettingsRoute)
|
@if ($helpdeskSettingsRoute)
|
||||||
<flux:menu.item
|
<flux:menu.item
|
||||||
:href="route($helpdeskSettingsRoute)"
|
:href="route($helpdeskSettingsRoute)"
|
||||||
|
|||||||
Reference in New Issue
Block a user