mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hide migration on hosted
This commit is contained in:
parent
2bdb26dd06
commit
b645356122
@ -238,27 +238,29 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel panel-default">
|
@if (Utils::isSelfHost() || request()->show_migration)
|
||||||
<div class="panel-heading">
|
<div class="panel panel-default">
|
||||||
<h3 class="panel-title">{!! trans('texts.migrate_to_next_version') !!}</h3>
|
<div class="panel-heading">
|
||||||
</div>
|
<h3 class="panel-title">{!! trans('texts.migrate_to_next_version') !!}</h3>
|
||||||
<div class="panel-body">
|
</div>
|
||||||
<div class="form-group">
|
<div class="panel-body">
|
||||||
<label for="modules" class="control-label col-lg-4 col-sm-4"></label>
|
<div class="form-group">
|
||||||
<div class="col-lg-8 col-sm-8">
|
<label for="modules" class="control-label col-lg-4 col-sm-4"></label>
|
||||||
<div class="help-block">{{ trans('texts.migrate_intro_text')}}</div><br/>
|
<div class="col-lg-8 col-sm-8">
|
||||||
@if(Auth::user()->eligibleForMigration())
|
<div class="help-block">{{ trans('texts.migrate_intro_text')}}</div><br/>
|
||||||
<a class="btn btn-primary btn-lg"
|
@if(Auth::user()->eligibleForMigration())
|
||||||
href="{{ url('/migration/start') }}">{!! trans('texts.start_migration') !!}</a>
|
<a class="btn btn-primary btn-lg"
|
||||||
@else
|
href="{{ url('/migration/start') }}">{!! trans('texts.start_migration') !!}</a>
|
||||||
{{ trans('texts.not_allowed') }}
|
@else
|
||||||
@endif
|
{{ trans('texts.not_allowed') }}
|
||||||
<br/>
|
@endif
|
||||||
<a href="https://invoiceninja.github.io/docs/migration/" target="_blank">{{ trans('texts.learn_more') }}</a>
|
<br/>
|
||||||
|
<a href="https://invoiceninja.github.io/docs/migration/" target="_blank">{{ trans('texts.learn_more') }}</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
@endif
|
||||||
|
|
||||||
{!! Former::close() !!}
|
{!! Former::close() !!}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user