mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Lazy embed getting started video
This commit is contained in:
parent
c5eac70f25
commit
8aa5f09f6b
@ -127,6 +127,7 @@
|
||||
@else
|
||||
handleSignedUp();
|
||||
NINJA.isRegistered = true;
|
||||
$('#gettingStartedIframe').attr('src', '{{ str_replace('watch?v=', 'embed/', config('ninja.video_urls.getting_started')) }}');
|
||||
$('#signUpButton').hide();
|
||||
$('#myAccountButton').html(result);
|
||||
$('#signUpSuccessDiv, #signUpFooter, #closeSignUpButton').show();
|
||||
@ -264,7 +265,9 @@
|
||||
{{ trans('texts.success_message') }}
|
||||
<br/> <br/>
|
||||
@endif
|
||||
<iframe width="100%" height="315" src="{{ str_replace('watch?v=', 'embed/', config('ninja.video_urls.getting_started')) }}"></iframe>
|
||||
@if (! auth()->user()->registered)
|
||||
<iframe id="gettingStartedIframe" width="100%" height="315"></iframe>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user