@extends('admin.layouts.main') @section('title', ___('Plugins')) @section('header_buttons') {{ ___('Upload Plugin') }} @endsection @section('content') @foreach($plugins as $plugin)
@if(!empty($plugin->image)) {{$plugin->name}} @else {{$plugin->name}} @endif
{{$plugin->name}} @if($plugin->installed) {{ ___('Installed') }} @endif @if($plugin->enabled) {{ ___('Enabled') }} @endif

{{$plugin->description}}

@if(!$plugin->is_compatible)

{!! ___('This plugin is not compatible with the current version of your script. Update your script to version :VERSION_CODE or higher.', ['VERSION_CODE' => $plugin->min_app_version]) !!}

@endif @if($plugin->update_available)

{!! $plugin->update_message !!}

@endif
@if($plugin->installed) @if($plugin->enabled) @if(isset($plugin->settings_route)) {{ ___('Settings') }} @endif
@csrf
@else @if($plugin->is_compatible)
@csrf
@endif
@method('delete') @csrf
@endif @else {{ ___('Install') }} @endif
@endforeach @push('scripts_at_top') @endpush @endsection