mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 20:14:35 -04:00
Updated the terms link
This commit is contained in:
parent
c771bf3024
commit
9aaf7bf05a
@ -124,6 +124,11 @@ class Utils
|
||||
return isset($_ENV['RESELLER_TYPE']) ? $_ENV['RESELLER_TYPE'] : false;
|
||||
}
|
||||
|
||||
public static function getTermsLink()
|
||||
{
|
||||
return static::isNinja() ? NINJA_WEB_URL.'/terms' : NINJA_WEB_URL.'/self-hosting-the-invoice-ninja-platform';
|
||||
}
|
||||
|
||||
public static function isOAuthEnabled()
|
||||
{
|
||||
$providers = [
|
||||
|
@ -632,7 +632,7 @@
|
||||
{!! Former::checkbox('terms_checkbox')
|
||||
->label(' ')
|
||||
->value(1)
|
||||
->text(trans('texts.agree_to_terms', ['terms' => '<a href="'.NINJA_WEB_URL.'/terms" target="_blank">'.trans('texts.terms_of_service').'</a>']))
|
||||
->text(trans('texts.agree_to_terms', ['terms' => '<a href="'.Utils::getTermsLink().'" target="_blank">'.trans('texts.terms_of_service').'</a>']))
|
||||
->raw() !!}
|
||||
<br/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user