From ab91f76bfed50a99be22b73523a543ea3dca4936 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 9 Mar 2017 11:24:24 +0200 Subject: [PATCH] Remove KB link if white labeled --- resources/views/auth/login.blade.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 1e2e4c2941..9f633c0b5a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -68,12 +68,18 @@ @endif
-
- {!! link_to('/recover_password', trans('texts.recover_password')) !!} -
-
- {!! link_to(NINJA_WEB_URL.'/knowledgebase/', trans('texts.knowledge_base'), ['target' => '_blank']) !!} -
+ @if (Utils::isWhiteLabel()) +
+
{!! link_to('/recover_password', trans('texts.recover_password')) !!} +
+ @else +
+ {!! link_to('/recover_password', trans('texts.recover_password')) !!} +
+
+ {!! link_to(NINJA_WEB_URL.'/knowledgebase/', trans('texts.knowledge_base'), ['target' => '_blank']) !!} +
+ @endif
{!! Former::close() !!}