mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01: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() }}"/>
|
||||
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||
<style>
|
||||
{!! $client->getSetting('portal_custom_css') !!}
|
||||
</style>
|
||||
@ -67,7 +67,7 @@
|
||||
{{-- Feel free to push anything to header using @push('header') --}}
|
||||
@stack('head')
|
||||
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||
{!! $client->getSetting('portal_custom_head') !!}
|
||||
@endif
|
||||
</head>
|
||||
@ -92,12 +92,12 @@
|
||||
@yield('footer')
|
||||
@stack('footer')
|
||||
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||
{!! $client->getSetting('portal_custom_footer') !!}
|
||||
@endif
|
||||
</footer>
|
||||
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
@if((bool) \App\Utils\Ninja::isSelfHost())
|
||||
<script>
|
||||
{!! $client->getSetting('portal_custom_js') !!}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user