mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-14 16:04:38 -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;
|
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()
|
public static function isOAuthEnabled()
|
||||||
{
|
{
|
||||||
$providers = [
|
$providers = [
|
||||||
|
@ -632,7 +632,7 @@
|
|||||||
{!! Former::checkbox('terms_checkbox')
|
{!! Former::checkbox('terms_checkbox')
|
||||||
->label(' ')
|
->label(' ')
|
||||||
->value(1)
|
->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() !!}
|
->raw() !!}
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user