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 class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.migrate_to_next_version') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
<label for="modules" class="control-label col-lg-4 col-sm-4"></label>
|
||||
<div class="col-lg-8 col-sm-8">
|
||||
<div class="help-block">{{ trans('texts.migrate_intro_text')}}</div><br/>
|
||||
@if(Auth::user()->eligibleForMigration())
|
||||
<a class="btn btn-primary btn-lg"
|
||||
href="{{ url('/migration/start') }}">{!! trans('texts.start_migration') !!}</a>
|
||||
@else
|
||||
{{ trans('texts.not_allowed') }}
|
||||
@endif
|
||||
<br/>
|
||||
<a href="https://invoiceninja.github.io/docs/migration/" target="_blank">{{ trans('texts.learn_more') }}</a>
|
||||
@if (Utils::isSelfHost() || request()->show_migration)
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.migrate_to_next_version') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
<label for="modules" class="control-label col-lg-4 col-sm-4"></label>
|
||||
<div class="col-lg-8 col-sm-8">
|
||||
<div class="help-block">{{ trans('texts.migrate_intro_text')}}</div><br/>
|
||||
@if(Auth::user()->eligibleForMigration())
|
||||
<a class="btn btn-primary btn-lg"
|
||||
href="{{ url('/migration/start') }}">{!! trans('texts.start_migration') !!}</a>
|
||||
@else
|
||||
{{ trans('texts.not_allowed') }}
|
||||
@endif
|
||||
<br/>
|
||||
<a href="https://invoiceninja.github.io/docs/migration/" target="_blank">{{ trans('texts.learn_more') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{!! Former::close() !!}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user