2024-02-27 11:32:09 -05:00
|
|
|
@section("blueprint.wrappers")
|
2024-02-17 15:32:08 -05:00
|
|
|
<!--
|
|
|
|
Blueprint extensions containing dashboard wrappers
|
|
|
|
will have their wrapper code injected here.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- wrapper:insert -->
|
2024-03-25 12:49:44 -04:00
|
|
|
@foreach (File::allFiles(__DIR__ . '/wrappers') as $partial)
|
|
|
|
@if ($partial->getExtension() == 'php')
|
2024-03-28 08:51:35 -04:00
|
|
|
@if ($blueprint->dbGet('blueprint', 'extensionconfig_'.str_replace('.blade','',$partial->getPathname()).'_dashboardwrapper') != '0')
|
|
|
|
@include('blueprint.dashboard.wrappers.'.str_replace('.blade','',$partial->getPathname()))
|
|
|
|
@endif
|
2024-03-25 12:49:44 -04:00
|
|
|
@endif
|
|
|
|
@endforeach
|
2024-02-17 15:32:08 -05:00
|
|
|
@endsection
|