@if (!empty($module['img'])) @else @endif

{{ App\Module::formatName($module['name']) }}@if (empty($module['installed'])) {{ __('Not Installed') }}@elseif (empty($module['active'])) {{ __('Inactive') }}@else {{ __('Active') }}@endif

{{ $module['description'] }}

{{ __('Version') }}: {{ $module['version'] }} @if (!empty($module['detailsUrl'])) | {{ __('View details') }} @endif @if (!empty($module['license']) && Eventy::filter('modules.show_license', true)) | {{ __('License') }}: {{ $module['license'] }} @endif @if (!empty($module['requiredAppVersion']) && !\Helper::checkAppVersion($module['requiredAppVersion'])) @php $wrong_app_verion = true; @endphp | {{ __('Required :app_name version', ['app_name' => \Config::get('app.name')]) }}: {{ $module['requiredAppVersion'] }} @endif @if (!empty($module['requiredPhpExtensionsMissing'])) | {{ __('Required PHP extensions') }}: {{ implode(', ', $module['requiredPhpExtensionsMissing']) }} @endif @if (!empty($module['requiredModulesMissing'])) | {{ __('Required Modules') }}: @foreach ($module['requiredModulesMissing'] as $missing_module => $missing_version){{ $missing_module }} ({{ $missing_version }})@endforeach @endif @if (!empty($module['installed']) && empty($module['active']) && empty($module['activated'])) | {{ __('Delete') }} @endif
@if ((empty($wrong_app_verion) && empty($module['requiredPhpExtensionsMissing'])) || !empty($module['active'])) @if (!empty($module['active'])) @elseif (!empty($module['activated'])) @else
{{ __('Get license key') }} @endif @endif @if (!empty($module['installed']) && empty($module['active']) && !empty($module['activated'])) {{ __('Delete') }} @endif
@if (!empty($module['new_version']))
{{ __('A new version is available') }}: {{ $module['new_version'] }} ({{ __('View details') }}) {{ __('Update Now') }}
@endif