@if ($current_loggedin_user->role != 0)
@include('backend.themes.permission-index')
@else
@endif
@isset($jsonData)
@if (count($jsonData) > 0)
@php
$get_noninstallcount = 0;
@endphp
@foreach ($jsonData as $key => $availabletheme)
@php
$theme_info = \App\Models\Theme::where(
'installed_id',
$availabletheme['id'],
)
->where('slug', $availabletheme['slug'])
->where('via', 'kanpai-api')
->count();
@endphp
@if ($theme_info == 0)
@php
$get_noninstallcount++;
@endphp
@endif
@endforeach
@if($get_noninstallcount<1)
Nothing found
@endif @elseNothing found
@endif @elseNothing found
@endif
@if (count($installed_themes) > 0)
@foreach ($installed_themes as $key => $availabletheme)
{{ $availabletheme->title }}
{{--
@endforeach
@else
{{ $availabletheme->title }}
{{--
{{ $availabletheme->theme_desc }}.
--}} @php $path = public_path( 'frontend/' . $availabletheme->slug . '/', ); $assets_type = \App\Models\Asset::where( 'theme_id', $availabletheme->id, )->get(); @endphp @if (!file_exists($path)) Upload Your Assets @else @if (count($assets_type) > 0) Manage Widgets Manage Assets @else Load Your Asset @endif @endif UninstallNothing found
@endif
@if (count($available_themes) > 0)
@foreach ($available_themes as $key => $availabletheme)
{{ $availabletheme->title }}
@include('backend.dynamic-modals.rename-themes')
@endforeach
@else
{{ $availabletheme->title }}
{{ $availabletheme->theme_desc }}.
@php $path = public_path( 'frontend/' . $availabletheme->slug . '/', ); $assets_type = \App\Models\Asset::where( 'theme_id', $availabletheme->id, )->get(); @endphp @if (!file_exists($path)) Upload Your Assets @else @if (count($assets_type) > 0) Manage Widgets Manage Assets @else Load Your Asset @endif @endif@include('backend.dynamic-modals.rename-themes')