@extends('panel.layout.app', ['disable_tblr' => true])
@section('title', 'Marketplace')
@section('titlebar_actions')
{{ __('Manage Addons') }}
{{ __('Browse Add-ons') }}
{{ __('Cart') }}
{{ count(is_array($cart) ? $cart : []) }}
@endsection
@section('content')
@include('panel.admin.market.components.marketplace-filter')
@foreach ($items as $item)
{{ $item['name'] }}
$item['installed'],
'bg-foreground/10' => !$item['installed'],
])>
{{ $item['installed'] ? __('Installed') . ($item['version'] != $item['db_version'] ? ' - ' . trans('Update Available') : '') : __('Not Installed') }}
{{ $item['description'] }}
@if ($item['version'] != $item['db_version'])
!$item['installed'],
])
variant="outline"
hover-variant="warning"
size="none"
>
{{ __('Upgrade') }}
@endif
$item['installed'] == 0,
])
variant="outline"
hover-variant="danger"
size="none"
>
{{ __('Uninstall') }}
$item['installed'] == 1,
])
variant="outline"
hover-variant="success"
size="none"
>
{{ __('Install') }}
{{ __('View details') }}
@endforeach
@endsection
@push('script')
@includeWhen(\App\Helpers\Classes\Helper::showIntercomForBuyer($items),'default.panel.layout.includes.buyer-intercom')
@endpush