Updated the terms link
This commit is contained in:
parent
c771bf3024
commit
9aaf7bf05a
2 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue