mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hide subdomain/iframe setting for self hosts
This commit is contained in:
parent
40f372023d
commit
6b8b59a407
@ -32,29 +32,30 @@
|
|||||||
|
|
||||||
{{-- Former::select('recurring_hour')->options($recurringHours) --}}
|
{{-- Former::select('recurring_hour')->options($recurringHours) --}}
|
||||||
|
|
||||||
{!! Former::inline_radios('custom_invoice_link')
|
@if (Utils::isNinja())
|
||||||
->onchange('onCustomLinkChange()')
|
{!! Former::inline_radios('custom_invoice_link')
|
||||||
->label(trans('texts.invoice_link'))
|
->onchange('onCustomLinkChange()')
|
||||||
->radios([
|
->label(trans('texts.invoice_link'))
|
||||||
trans('texts.subdomain') => ['value' => 'subdomain', 'name' => 'custom_link'],
|
->radios([
|
||||||
trans('texts.website') => ['value' => 'website', 'name' => 'custom_link'],
|
trans('texts.subdomain') => ['value' => 'subdomain', 'name' => 'custom_link'],
|
||||||
])->check($account->iframe_url ? 'website' : 'subdomain') !!}
|
trans('texts.website') => ['value' => 'website', 'name' => 'custom_link'],
|
||||||
{{ Former::setOption('capitalize_translations', false) }}
|
])->check($account->iframe_url ? 'website' : 'subdomain') !!}
|
||||||
|
{{ Former::setOption('capitalize_translations', false) }}
|
||||||
{!! Former::text('subdomain')
|
|
||||||
->placeholder(trans('texts.www'))
|
{!! Former::text('subdomain')
|
||||||
->onchange('onSubdomainChange()')
|
->placeholder(trans('texts.www'))
|
||||||
->addGroupClass('subdomain')
|
->onchange('onSubdomainChange()')
|
||||||
->label(' ')
|
->addGroupClass('subdomain')
|
||||||
->help(trans('texts.subdomain_help')) !!}
|
->label(' ')
|
||||||
|
->help(trans('texts.subdomain_help')) !!}
|
||||||
|
|
||||||
{!! Former::text('iframe_url')
|
{!! Former::text('iframe_url')
|
||||||
->placeholder('http://www.example.com/invoice')
|
->placeholder('http://www.example.com/invoice')
|
||||||
->appendIcon('question-sign')
|
->appendIcon('question-sign')
|
||||||
->addGroupClass('iframe_url')
|
->addGroupClass('iframe_url')
|
||||||
->label(' ')
|
->label(' ')
|
||||||
->help(trans('texts.subdomain_help')) !!}
|
->help(trans('texts.subdomain_help')) !!}
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user