mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 03:54:36 -04:00
Use full namespace when calling from resources
This commit is contained in:
parent
87ca437d1a
commit
0e8bfa18a9
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
<link rel="canonical" href="{{ config('ninja.site_url') }}/{{ request()->path() }}"/>
|
<link rel="canonical" href="{{ config('ninja.site_url') }}/{{ request()->path() }}"/>
|
||||||
|
|
||||||
@if((bool) Ninja::isSelfHost())
|
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||||
<style>
|
<style>
|
||||||
{!! $client->getSetting('portal_custom_css') !!}
|
{!! $client->getSetting('portal_custom_css') !!}
|
||||||
</style>
|
</style>
|
||||||
@ -67,7 +67,7 @@
|
|||||||
{{-- Feel free to push anything to header using @push('header') --}}
|
{{-- Feel free to push anything to header using @push('header') --}}
|
||||||
@stack('head')
|
@stack('head')
|
||||||
|
|
||||||
@if((bool) Ninja::isSelfHost())
|
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||||
{!! $client->getSetting('portal_custom_head') !!}
|
{!! $client->getSetting('portal_custom_head') !!}
|
||||||
@endif
|
@endif
|
||||||
</head>
|
</head>
|
||||||
@ -92,12 +92,12 @@
|
|||||||
@yield('footer')
|
@yield('footer')
|
||||||
@stack('footer')
|
@stack('footer')
|
||||||
|
|
||||||
@if((bool) Ninja::isSelfHost())
|
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||||
{!! $client->getSetting('portal_custom_footer') !!}
|
{!! $client->getSetting('portal_custom_footer') !!}
|
||||||
@endif
|
@endif
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
@if((bool) Ninja::isSelfHost())
|
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||||
<script>
|
<script>
|
||||||
{!! $client->getSetting('portal_custom_js') !!}
|
{!! $client->getSetting('portal_custom_js') !!}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user