@extends('panel::layouts.app') @section('title', $plugin->getLocaleName()) @section('content')
@if($plugin->getIconUrl()) @endif
{{ $plugin->getLocaleName() }} @if($plugin->getVersion()) {{ $plugin->getVersion() }} @endif
@if($plugin->getLocaleDescription())
{{ $plugin->getLocaleDescription() }}
@endif
{{ __('panel/plugin.author') }}: {{ $plugin->getAuthorName() }} @if($plugin->getAuthorEmail()) {{ __('panel/plugin.email') }}: {{ $plugin->getAuthorEmail() }} @endif
@if($plugin->getType())
{{ __('panel/plugin.type') }}:{{ $plugin->getTypeFormat() }}
@endif @if($plugin->checkInstalled() && $plugin->getEnabled() && $plugin->getMenuUrl()) @endif
@php $readmeHtml = $plugin->getReadmeHtml(); @endphp
@if(!empty($customView)) @includeIf($customView, ['plugin' => $plugin, 'fields' => $fields ?? [], 'errors' => $errors ?? []]) @else
@csrf {{ method_field('put') }}
@include('plugin::plugins.fields', ['fields' => $fields, 'errors' => $errors, 'plugin' => $plugin])
@endif
@if(!empty($readmeHtml) && trim($readmeHtml) !== '')
{!! $readmeHtml !!}
@endif
@endsection @push('header') @endpush