1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Don't show portal for ninja account

This commit is contained in:
Hillel Coren 2016-08-09 09:56:18 +03:00
parent 8256e88286
commit 713394ea8a

View File

@ -82,7 +82,7 @@
@endif @endif
</div> </div>
<div id="navbar" class="collapse navbar-collapse"> <div id="navbar" class="collapse navbar-collapse">
@if (!isset($account) || $account->isNinjaAccount() || $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"' : '' }}>