1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Clarify subdomain/client portal link

This commit is contained in:
Hillel Coren 2017-12-24 11:33:02 +02:00
parent 3c90f9ccbd
commit cb2132032b
2 changed files with 3 additions and 1 deletions

View File

@ -2622,6 +2622,7 @@ $LANG = array(
'new_status' => 'New Status',
'convert_products' => 'Convert Products',
'convert_products_help' => 'Automatically convert product prices to the client\'s currency',
'improve_client_portal_link' => 'Set a subdomain to shorten the client portal link.',
);

View File

@ -166,7 +166,8 @@
->label(trans('texts.send_portal_password'))
->value(1) !!}
{!! Former::plaintext('client_login')
->value(link_to($account->present()->clientLoginUrl, null, ['target' => '_blank'])) !!}
->value(link_to($account->present()->clientLoginUrl, null, ['target' => '_blank']))
->help(Utils::isNinja() && ! $account->subdomain && ! $account->iframe_url ? 'improve_client_portal_link' : '') !!}
</div>
</div>
</div>