mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Merge pull request #4299 from beganovich/v5-cp-custom-includes
(v5) Custom client portal inclusions
This commit is contained in:
commit
91a565a733
@ -56,16 +56,20 @@
|
||||
|
||||
<link rel="canonical" href="{{ config('ninja.site_url') }}/{{ request()->path() }}"/>
|
||||
|
||||
<style>
|
||||
{!! $client->getSetting('portal_custom_css') !!}
|
||||
</style>
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
<style>
|
||||
{!! $client->getSetting('portal_custom_css') !!}
|
||||
</style>
|
||||
@endif
|
||||
|
||||
@livewireStyles
|
||||
|
||||
{{-- Feel free to push anything to header using @push('header') --}}
|
||||
@stack('head')
|
||||
|
||||
{!! $client->getSetting('portal_custom_head') !!}
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
{!! $client->getSetting('portal_custom_head') !!}
|
||||
@endif
|
||||
</head>
|
||||
|
||||
@include('portal.ninja2020.components.primary-color')
|
||||
@ -88,11 +92,14 @@
|
||||
@yield('footer')
|
||||
@stack('footer')
|
||||
|
||||
{!! $client->getSetting('portal_custom_footer') !!}
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
{!! $client->getSetting('portal_custom_footer') !!}
|
||||
@endif
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
{!! $client->getSetting('portal_custom_js') !!}
|
||||
</script>
|
||||
|
||||
@if((bool) Ninja::isSelfHost())
|
||||
<script>
|
||||
{!! $client->getSetting('portal_custom_js') !!}
|
||||
</script>
|
||||
@endif
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user