@extends('admin.layouts.index', ['header' => true, 'nav' => true, 'demo' => true]) @php $web_template = getConfigData('web_template'); @endphp @section('content')
{{-- Failed --}} @if (Session::has('failed')) @endif {{-- Success --}} @if (Session::has('success')) @endif {{-- Templates --}} {{-- check is empty --}} @if (empty($templates))
Templates

{{ __('Coming Soon!') }}

{{ __('Templates are used to add extra front-end web templates to GoBiz.') }}
{{ __('You can install templates from the GoBiz Templates Store.') }}

{{-- Notify Me --}}
@else
@foreach ($templates as $template)
{{-- Version --}}
{{ __('v') }}{{ $template['version'] }}
@if ($template['template_id'] == $web_template)
{{ __('Active') }}
@endif

{{ __($template['name']) }}

@if ($template['template_id'] != $web_template) {{ __('Activate') }} @endif
{{-- Delete Form --}}
@csrf @method('DELETE') @if ($template['template_id'] != 'GoBizOriginal') @endif
@endforeach
@endif
{{-- Footer --}} @include('admin.includes.footer')
@section('scripts') @endsection @endsection