1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Added plan help text

This commit is contained in:
Hillel Coren 2016-05-10 21:17:46 +03:00
parent 01869d852c
commit ee579f91f3
3 changed files with 9 additions and 3 deletions

View File

@ -1179,7 +1179,9 @@ $LANG = array(
'preview' => 'Preview',
'list_vendors' => 'List Vendors',
'add_users_not_supported' => 'Upgrade to the Enterprise plan to add additional users to your account.',
'enterprise_plan_features' => 'The Enterprise plan adds support for multiple users and file attachments.',
'return_to_app' => 'Return to app',
);
return $LANG;

View File

@ -128,7 +128,8 @@
@endif
{!! Former::select('plan_term')
->addOption(trans('texts.plan_term_yearly'), PLAN_TERM_YEARLY)
->addOption(trans('texts.plan_term_monthly'), PLAN_TERM_MONTHLY)!!}
->addOption(trans('texts.plan_term_monthly'), PLAN_TERM_MONTHLY)
->inlineHelp(trans('texts.enterprise_plan_features')) !!}
</div>
<div class="modal-footer" style="margin-top: 0px">
<button type="button" class="btn btn-default" data-dismiss="modal">{{ trans('texts.go_back') }}</button>

View File

@ -25,7 +25,10 @@
@include('partials.checkout_com_payment')
@else
<div class="pull-right" style="text-align:right">
@if ($invoice->is_quote)
@if (Session::get('trackEventAction') === '/buy_pro_plan')
{!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}&nbsp;&nbsp;
{!! Button::primary(trans('texts.return_to_app'))->asLinkTo(URL::to('/dashboard'))->large() !!}
@elseif ($invoice->is_quote)
{!! Button::normal(trans('texts.download_pdf'))->withAttributes(['onclick' => 'onDownloadClick()'])->large() !!}&nbsp;&nbsp;
@if ($showApprove)
{!! Button::success(trans('texts.approve'))->asLinkTo(URL::to('/approve/' . $invitation->invitation_key))->large() !!}