@extends('backend.layouts.main') @section('title') {{ __('Add-ons') }} @endsection @section('content') @foreach($packages as $package)
{{ $package->description }}
@if($package->installed) @if($package->enabled) @if(isset($releases->{'add-ons'}->{$package->id})) @if(version_compare($releases->{'add-ons'}->{$package->id}->version, $package->version, '>')){{ __('New version :v is available.', ['v' => $releases->{'add-ons'}->{$package->id}->version]) }}
@endif @endif{{ __('Main app version should be at least :v1 (:v2 installed)', ['v1' => $package->min_app_version, 'v2' => config('app.version')]) }}
@endif @endif @elseif($package->purchase_url) {{ __('Purchase') }} {{ __('Install') }} @endif