mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for active navbar highlight in client portal
This commit is contained in:
parent
9060d901a7
commit
086e48bd4a
@ -83,27 +83,27 @@
|
|||||||
@if (!isset($account) || $account->enable_client_portal)
|
@if (!isset($account) || $account->enable_client_portal)
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
@if (isset($account) && $account->enable_client_portal_dashboard)
|
@if (isset($account) && $account->enable_client_portal_dashboard)
|
||||||
<li {{ Request::is('*client/dashboard') ? 'class="active"' : '' }}>
|
<li {!! Request::is('*client/dashboard') ? 'class="active"' : '' !!}>
|
||||||
{!! link_to('/client/dashboard', trans('texts.dashboard') ) !!}
|
{!! link_to('/client/dashboard', trans('texts.dashboard') ) !!}
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
<li {{ Request::is('*client/quotes') ? 'class="active"' : '' }}>
|
<li {!! Request::is('*client/quotes') ? 'class="active"' : '' !!}>
|
||||||
{!! link_to('/client/quotes', trans('texts.quotes') ) !!}
|
{!! link_to('/client/quotes', trans('texts.quotes') ) !!}
|
||||||
</li>
|
</li>
|
||||||
<li {{ Request::is('*client/invoices') ? 'class="active"' : '' }}>
|
<li {!! Request::is('*client/invoices') ? 'class="active"' : '' !!}>
|
||||||
{!! link_to('/client/invoices', trans('texts.invoices') ) !!}
|
{!! link_to('/client/invoices', trans('texts.invoices') ) !!}
|
||||||
</li>
|
</li>
|
||||||
@if (isset($account) && $account->hasFeature(FEATURE_DOCUMENTS))
|
@if (isset($account) && $account->hasFeature(FEATURE_DOCUMENTS))
|
||||||
<li {{ Request::is('*client/documents') ? 'class="active"' : '' }}>
|
<li {!! Request::is('*client/documents') ? 'class="active"' : '' !!}>
|
||||||
{!! link_to('/client/documents', trans('texts.documents') ) !!}
|
{!! link_to('/client/documents', trans('texts.documents') ) !!}
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
@if (isset($account) && $account->getTokenGatewayId() && !$account->enable_client_portal_dashboard)
|
@if (isset($account) && $account->getTokenGatewayId() && !$account->enable_client_portal_dashboard)
|
||||||
<li {{ Request::is('*client/payment_methods') ? 'class="active"' : '' }}>
|
<li {!! Request::is('*client/payment_methods') ? 'class="active"' : '' !!}>
|
||||||
{!! link_to('/client/payment_methods', trans('texts.payment_methods') ) !!}
|
{!! link_to('/client/payment_methods', trans('texts.payment_methods') ) !!}
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
<li {{ Request::is('*client/payments') ? 'class="active"' : '' }}>
|
<li {!! Request::is('*client/payments') ? 'class="active"' : '' !!}>
|
||||||
{!! link_to('/client/payments', trans('texts.payments') ) !!}
|
{!! link_to('/client/payments', trans('texts.payments') ) !!}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user