White label changes

This commit is contained in:
Hillel Coren 2016-05-05 09:52:59 +03:00
parent 3b508f656b
commit ef2bc3d811
2 changed files with 4 additions and 4 deletions

View File

@ -992,7 +992,7 @@ $LANG = array(
'overdue' => 'Overdue', 'overdue' => 'Overdue',
'white_label_text' => 'Purchase a ONE YEAR white label license for $'.WHITE_LABEL_PRICE.' to remove the Invoice Ninja branding from the client portal and help support our project.', 'white_label_text' => 'Purchase a ONE YEAR white label license for $'.WHITE_LABEL_PRICE.' to remove the Invoice Ninja branding from the client portal and emails.',
'user_email_footer' => 'To adjust your email notification settings please visit '.SITE_URL.'/settings/notifications', 'user_email_footer' => 'To adjust your email notification settings please visit '.SITE_URL.'/settings/notifications',
'reset_password_footer' => 'If you did not request this password reset please email our support: '.CONTACT_EMAIL, 'reset_password_footer' => 'If you did not request this password reset please email our support: '.CONTACT_EMAIL,
'limit_users' => 'Sorry, this will exceed the limit of '.MAX_NUM_USERS.' users', 'limit_users' => 'Sorry, this will exceed the limit of '.MAX_NUM_USERS.' users',

View File

@ -94,9 +94,9 @@
</div> </div>
@endif @endif
@if (Utils::isNinjaProd()) @if (Utils::isNinjaProd())
{!! Former::actions( Button::success(trans('texts.plan_upgrade'))->large()->withAttributes(['onclick' => 'showChangePlan()'])->appendIcon(Icon::create('plus-sign'))) !!} {!! Former::actions( Button::success(trans('texts.plan_upgrade'))->large()->withAttributes(['onclick' => 'showChangePlan()'])->appendIcon(Icon::create('plus-sign'))) !!}
@else @elseif (!$account->hasFeature(FEATURE_WHITE_LABEL))
{!! Former::actions( Button::success(trans('texts.white_label_button'))->large()->withAttributes(['onclick' => 'loadImages("#whiteLabelModal");$("#whiteLabelModal").modal("show");'])->appendIcon(Icon::create('plus-sign'))) !!} {!! Former::actions( Button::success(trans('texts.white_label_button'))->large()->withAttributes(['onclick' => 'loadImages("#whiteLabelModal");$("#whiteLabelModal").modal("show");'])->appendIcon(Icon::create('plus-sign'))) !!}
@endif @endif
@endif @endif
</div> </div>