diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index d13e0acd1e..a3108865eb 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -249,7 +249,9 @@ @if (Auth::check()) @if (!Auth::user()->registered) - {!! Button::success(trans('texts.sign_up'))->withAttributes(array('id' => 'signUpButton', 'data-toggle'=>'modal', 'data-target'=>'#signUpModal', 'style' => 'max-width:100px;;overflow:hidden'))->small() !!}   + @if (!Auth::user()->confirmed) + {!! Button::success(trans('texts.sign_up'))->withAttributes(array('id' => 'signUpButton', 'data-toggle'=>'modal', 'data-target'=>'#signUpModal', 'style' => 'max-width:100px;;overflow:hidden'))->small() !!}   + @endif @elseif (Utils::isNinjaProd() && (!Auth::user()->isPro() || Auth::user()->isTrial())) @if (Auth::user()->account->company->hasActivePromo()) {!! Button::warning(trans('texts.plan_upgrade'))->withAttributes(array('onclick' => 'showUpgradeModal()', 'style' => 'max-width:100px;overflow:hidden'))->small() !!}