mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Hide ‘Client Portal’ settings for hosted users
This commit is contained in:
parent
7c3406d9e5
commit
668eab0279
@ -22,8 +22,10 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
@foreach ($settings as $section)
|
||||
<a href="{{ URL::to("settings/{$section}") }}" class="list-group-item {{ $selected === $section ? 'selected' : '' }}"
|
||||
style="width:100%;text-align:left">{{ trans("texts.{$section}") }}</a>
|
||||
@if ($section != ACCOUNT_CLIENT_PORTAL || !Utils::isNinjaProd())
|
||||
<a href="{{ URL::to("settings/{$section}") }}" class="list-group-item {{ $selected === $section ? 'selected' : '' }}"
|
||||
style="width:100%;text-align:left">{{ trans("texts.{$section}") }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@if ($type === ADVANCED_SETTINGS && !Utils::isNinjaProd())
|
||||
<a href="{{ URL::to("settings/system_settings") }}" class="list-group-item {{ $selected === 'system_settings' ? 'selected' : '' }}"
|
||||
|
Loading…
Reference in New Issue
Block a user