From 668eab02794c8725de6509f27156349c8342166f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 15 Feb 2016 20:05:41 +0200 Subject: [PATCH] =?UTF-8?q?Hide=20=E2=80=98Client=20Portal=E2=80=99=20sett?= =?UTF-8?q?ings=20for=20hosted=20users?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/accounts/nav.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/accounts/nav.blade.php b/resources/views/accounts/nav.blade.php index ae7f38c2fa8b..b0aa4dd76741 100644 --- a/resources/views/accounts/nav.blade.php +++ b/resources/views/accounts/nav.blade.php @@ -22,8 +22,10 @@
@foreach ($settings as $section) - {{ trans("texts.{$section}") }} + @if ($section != ACCOUNT_CLIENT_PORTAL || !Utils::isNinjaProd()) + {{ trans("texts.{$section}") }} + @endif @endforeach @if ($type === ADVANCED_SETTINGS && !Utils::isNinjaProd())