mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Show navigation bar only if enable_client_portal
is toggled
This commit is contained in:
parent
424b08ff6f
commit
0495c29f7e
@ -5,18 +5,20 @@
|
|||||||
id="main-sidebar">
|
id="main-sidebar">
|
||||||
|
|
||||||
@if($settings->enable_client_portal)
|
@if($settings->enable_client_portal)
|
||||||
<!-- Off-canvas menu for mobile -->
|
<!-- Off-canvas menu for mobile -->
|
||||||
@include('portal.ninja2020.components.general.sidebar.mobile')
|
@include('portal.ninja2020.components.general.sidebar.mobile')
|
||||||
|
|
||||||
<!-- Static sidebar for desktop -->
|
|
||||||
@unless(request()->query('sidebar') === 'hidden')
|
|
||||||
@include('portal.ninja2020.components.general.sidebar.desktop')
|
|
||||||
@endunless
|
|
||||||
|
|
||||||
|
<!-- Static sidebar for desktop -->
|
||||||
|
@unless(request()->query('sidebar') === 'hidden')
|
||||||
|
@include('portal.ninja2020.components.general.sidebar.desktop')
|
||||||
|
@endunless
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="flex flex-col w-0 flex-1 overflow-hidden">
|
<div class="flex flex-col w-0 flex-1 overflow-hidden">
|
||||||
@include('portal.ninja2020.components.general.sidebar.header')
|
@if($settings->enable_client_portal)
|
||||||
|
@include('portal.ninja2020.components.general.sidebar.header')
|
||||||
|
@endif
|
||||||
|
|
||||||
<main
|
<main
|
||||||
class="flex-1 relative z-0 overflow-y-auto pt-6 focus:outline-none"
|
class="flex-1 relative z-0 overflow-y-auto pt-6 focus:outline-none"
|
||||||
tabindex="0" x-data
|
tabindex="0" x-data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user